Skip to content

Commit a1780a8

Browse files
committed
chore: skip the matrix on release
Keep the test run for safety, but we don't need the whole OS and version matrix at this point
1 parent 78333ed commit a1780a8

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.github/workflows/release.yml

+3-22
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,6 @@ concurrency:
1717
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1818

1919
jobs:
20-
test:
21-
name: Test
22-
runs-on: ubuntu-latest
23-
strategy:
24-
matrix:
25-
os: [ubuntu-latest, macOS-latest, windows-latest]
26-
node-version: [10.x, 18.x, 20.x]
27-
steps:
28-
- name: Checkout
29-
uses: actions/checkout@v3
30-
31-
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v3
33-
with:
34-
node-version: ${{ matrix.node-version }}
35-
36-
- name: Install dependencies
37-
run: npm install
38-
39-
- name: Run all tests
40-
run: npm test
41-
4220
release:
4321
name: Release
4422
runs-on: ubuntu-latest
@@ -55,6 +33,9 @@ jobs:
5533
- name: Install dependencies
5634
run: npm install
5735

36+
- name: Run all tests
37+
run: npm test
38+
5839
- name: Release and publish
5940
run: npx semantic-release
6041
env:

0 commit comments

Comments
 (0)