Skip to content

Commit a3fb83d

Browse files
authored
Update publish.yml
1 parent cc1bd97 commit a3fb83d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,16 @@ jobs:
2828
- name: Gulp
2929
run: npx gulp
3030
working-directory: ./Package
31+
- name: Setup Node.js
32+
uses: actions/[email protected]
33+
with:
34+
node-version: '12.x'
35+
registry-url: 'https://npm.pkg.github.com'
36+
scope: '@babylonjs'
37+
- name: Version & Publish Package
38+
run: |
39+
npm version --no-git-tag-version ${GITHUB_REF/refs\/tags\//}
40+
npm publish
41+
working-directory: ./Package/Assembled
42+
env:
43+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)