We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa09f1c commit 2ee5653Copy full SHA for 2ee5653
.github/workflows/npm-build.yml
@@ -0,0 +1,24 @@
1
+# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
+
4
+name: Node.js Package
5
6
+on:
7
+ push:
8
+ branches: [main]
9
+ paths:
10
+ - '**.js'
11
+ - '**.json'
12
+ - '.github/workflows/npm-build.yml'
13
+ - 'test/**'
14
15
+jobs:
16
+ build:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: actions/setup-node@v3
21
+ with:
22
+ node-version: 16
23
+ - run: npm ci
24
+ - run: npm test
0 commit comments