We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
markerikson
timdorr
phryneas
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 2210db9 commit a669a94Copy full SHA for a669a94
.github/workflows/publish.yaml
@@ -0,0 +1,24 @@
1
+name: Publish Package to npmjs
2
+on:
3
+ # keeping it purely manual for now as to not accidentally trigger a release
4
+ #release:
5
+ # types: [published]
6
+ workflow_dispatch:
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
+ contents: read
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: actions/setup-node@v3
16
+ with:
17
+ node-version: '18.x'
18
+ registry-url: 'https://registry.npmjs.org'
19
+ cache: 'yarn'
20
+ - run: yarn install --frozen-lockfile
21
+ - run: yarn test
22
+ - run: npm publish --access public --provenance
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments