We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7465c0f commit a1bbe00Copy full SHA for a1bbe00
.github/workflows/publish.yml
@@ -0,0 +1,24 @@
1
+name: Publish Package
2
+on:
3
+ release:
4
+ types: [published]
5
+
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v2.2.0
12
+ - name: Setup Node.js
13
+ uses: actions/setup-node@v1.4.2
14
+ with:
15
+ node-version: '12.x'
16
+ registry-url: 'https://npm.pkg.github.com'
17
+ scope: '@babylonjs'
18
+ - name: Version & Publish Package
19
+ run: |
20
+ npm version --no-git-tag-version ${GITHUB_REF/refs\/tags\//}
21
+ npm publish
22
+ working-directory: ./Apps/Playground/node_modules/@babylonjs/react-native
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments