We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d32606c commit bbded41Copy full SHA for bbded41
.github/workflows/publish.yml
@@ -0,0 +1,30 @@
1
+name: Publish
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
10
+ strategy:
11
+ matrix:
12
+ node-version: ["16.x"]
13
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - name: Use Node.js ${{ matrix.node-version }}
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: ${{ matrix.node-version }}
20
+ cache: "npm"
21
+ - uses: actions/cache@v3
22
+ id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
23
24
+ path: node_modules
25
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26
+ restore-keys: |
27
+ ${{ runner.os }}-node-
28
+ - run: npm i
29
+ - run: npm run compile
30
+ - run: npm run publish
0 commit comments