Skip to content

Commit

Permalink
version checks not relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed Jan 8, 2025
1 parent b851e24 commit 301db01
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,7 @@ jobs:

- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Extract versions
run: |
echo "GIT_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
echo "PKG_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- name: Assert package versions
run: |
echo "CM_VERSION=$CM_VERSION"
echo "PKG_VERSION=$PKG_VERSION"
if [[ "v$PKG_VERSION" != "$GIT_TAG" ]]; then
echo "Version mismatch! Please correct package versions"
exit 1
else
echo "Version check complete"
fi

- name: Install NPM dependencies
run: pnpm install

Expand Down

0 comments on commit 301db01

Please sign in to comment.