@picahq/authkit-token 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ name: Publish Package to NPM
2
+
3
+ on:
4
+ release:
5
+ types: [created]
6
+
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: actions/setup-node@v4
13
+ with:
14
+ node-version: '20.x'
15
+ registry-url: 'https://registry.npmjs.org/'
16
+ - name: Install dependencies
17
+ run: |
18
+ if [ -f package-lock.json ]; then
19
+ npm ci
20
+ else
21
+ npm install
22
+ fi
23
+ - name: Build
24
+ run: npm run build
25
+ - name: Publish
26
+ run: npm publish --access public
27
+ env:
28
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}