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.
2 parents 78457a5 + 5a46764 commit cc56047Copy full SHA for cc56047
.github/workflows/publish.yml
@@ -0,0 +1,22 @@
1
+name: NPM / Publish
2
+
3
+on:
4
+ workflow_dispatch:
5
+ # We only publish if the version of sern handler is different. workflow automatically cancels if verson is the same
6
+ push:
7
+ branches:
8
+ - 'main'
9
+jobs:
10
+ test-and-publish:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
14
+ - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
15
+ with:
16
+ node-version: 17
17
+ - run: yarn --immutable
18
+ - run: yarn build
19
+ - uses: JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # v1
20
21
+ token: ${{ secrets.NPM_TOKEN }}
22
+ access: "public"
0 commit comments