We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a6e591 commit 046bb92Copy full SHA for 046bb92
1 file changed
.github/workflows/npm-publish.yml
@@ -9,6 +9,16 @@ on:
9
- threejs-javascript
10
11
jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: actions/setup-node@v1
17
+ with:
18
+ node-version: 14
19
+ - run: npm ci
20
+ - run: npm test
21
+
22
publish-npm:
23
needs: build
24
runs-on: ubuntu-latest
@@ -18,6 +28,8 @@ jobs:
28
with:
29
node-version: 14
30
registry-url: https://registry.npmjs.org/
31
32
- run: npm publish
33
env:
34
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
35
0 commit comments