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 4ebf878 commit af0b234Copy full SHA for af0b234
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+name: publish
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ packages: write
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - uses: actions/setup-node@v3
15
+ with:
16
+ node-version: 16
17
+ cache: npm
18
+ registry-url: https://registry.npmjs.org/
19
+ - run: npm ci
20
+ - run: npm run lint
21
+ - run: npm run typecheck
22
+ - run: npm test
23
+ - run: npm publish --access=public
24
+ env:
25
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments