Added getversion step
This commit is contained in:
parent
73609d03c0
commit
15ebe78733
1 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,15 @@ on:
|
|||
- '**'
|
||||
|
||||
jobs:
|
||||
get-version:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checking Out Repository Code
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Check if Version in package.json matches Tag
|
||||
run: |
|
||||
VERSION=$(npm pkg get version --workspaces=false | tr -d \")
|
||||
echo "Version is: '$VERSION'";
|
||||
astro-check:
|
||||
runs-on: docker
|
||||
container: forgejo.neshweb.net/ci-docker-images/node-alpine-git:latest
|
||||
|
|
Loading…
Reference in a new issue