We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e86bde commit 51bd4f7Copy full SHA for 51bd4f7
.github/workflows/npm-publish.yml
@@ -7,18 +7,31 @@ on:
7
release:
8
types: [created]
9
10
+
11
jobs:
12
build:
13
runs-on: ubuntu-latest
14
15
+ strategy:
16
+ matrix:
17
+ node-version: [20.x]
18
19
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
20
+ - name: Check out repository
21
+ uses: actions/checkout@v3
22
23
+ - name: Set up Node.js
24
+ uses: actions/setup-node@v3
25
with:
- node-version: 20
- - run: yarn install
26
+ node-version: ${{ matrix.node-version }}
27
28
+ - name: Install dependencies
29
+ run: yarn install
30
31
+ - name: Run tests
32
env:
33
TOKEN: ${{ secrets.TOKEN }}
- - run: yarn test
34
+ run: yarn test
35
36
publish-npm:
37
needs: build
0 commit comments