Skip to content

Commit 4d495f8

Browse files
authored
ci: Fix auto-release (#440)
1 parent 259d7de commit 4d495f8

File tree

5 files changed

+23638
-1751
lines changed

5 files changed

+23638
-1751
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node-version: [16.x]
16-
name: ${{ matrix.name }}
15+
node-version: [14, 16, 18]
16+
fail-fast: false
17+
name: Test Node ${{ matrix.node-version }}
1718
steps:
19+
- name: Fix usage of insecure GitHub protocol
20+
run: sudo git config --system url."https://github".insteadOf "git://github"
21+
- name: Fix git protocol for Node 14
22+
if: ${{ startsWith(matrix.node-version, '14') }}
23+
run: sudo git config --system url."https://github".insteadOf "ssh://git@github"
1824
- uses: actions/checkout@v3
1925
- name: Use Node.js ${{ matrix.node-version }}
2026
uses: actions/setup-node@v3
@@ -25,4 +31,7 @@ jobs:
2531
- name: Check Linting
2632
run: npm run lint
2733
- name: Run Tests
28-
run: npm run test
34+
run: npm run test
35+
concurrency:
36+
group: ${{ github.workflow }}-${{ github.ref }}
37+
cancel-in-progress: true

.github/workflows/release-automated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup Node
1414
uses: actions/setup-node@v2
1515
with:
16-
node-version: 14
16+
node-version: 18
1717
- name: Cache Node.js modules
1818
uses: actions/cache@v2
1919
with:

0 commit comments

Comments
 (0)