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 6337c46 commit 7713cd2Copy full SHA for 7713cd2
.circleci/config.yml
.github/workflows/build.yml
@@ -0,0 +1,26 @@
1
+name: build
2
+on:
3
+ release:
4
+ types: [created]
5
+ push:
6
+ branches:
7
+ - '**'
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ node-version: '20.x'
18
+ registry-url: 'https://registry.npmjs.org'
19
+ cache: npm
20
+ - run: npm ci
21
+ - run: npm run test:coverage
22
+ - run: npm run build
23
+ - run: npm publish
24
+ if: github.event_name == 'release' && github.event.action == 'created'
25
+ env:
26
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments