1 parent 798d3b0 commit e5b6c00Copy full SHA for e5b6c00
1 file changed
.github/workflows/tmlpd-publish.yml
@@ -0,0 +1,23 @@
1
+name: tmlpd-pi Publish
2
+
3
+on:
4
+ workflow_dispatch:
5
+ release:
6
+ types: [created]
7
8
+jobs:
9
+ publish-tmlpd:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 20
16
+ registry-url: https://registry.npmjs.org/
17
+ - name: Publish tmlpd-pi
18
+ working-directory: ./tmlpd-pi-extension
19
+ run: |
20
+ node -e "const p=require('./package.json'); console.log('Publishing tmlpd-pi@'+p.version)"
21
+ npm publish
22
+ env:
23
+ NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
0 commit comments