Skip to content

Commit d5aa4cd

Browse files
committed
fix(ci): version prior to build
1 parent 87404fb commit d5aa4cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636
- name: Download specification
3737
run: curl -L -o openapi.yaml https://vrchat.community/openapi.yaml
3838

39-
- name: Build
40-
run: pnpm build
41-
4239
- name: Update version
4340
run: |
4441
VERSION=$(yq '.info.version' openapi.yaml | tr -d '"')
4542
4643
pnpm version ${VERSION} --no-git-tag-version
4744
pnpm version prerelease --no-git-tag-version --preid next
4845
46+
- name: Build
47+
run: pnpm build
48+
4949
- name: Release
5050
run: |
5151
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc

0 commit comments

Comments
 (0)