Skip to content

Commit

Permalink
ci: update actions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 14, 2024
1 parent b041b1f commit 32d6877
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
Build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -77,10 +77,10 @@ jobs:
ZMQ_SHARED: false
ARCH: ${{ matrix.ARCH }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./node_modules/
Expand All @@ -101,14 +101,14 @@ jobs:
python: true
architecture: ${{ matrix.cpp_arch }}

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v4
if: ${{ !matrix.docker }}
with:
version: 8
version: 9

- name: Install Node
if: ${{ !matrix.docker }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.node_arch }}
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:

- name: Test (Debug)
if: ${{ !matrix.docker }}
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 1
Expand All @@ -166,7 +166,7 @@ jobs:

- name: Test Electron (Main)
if: "${{ contains(matrix.os, 'ubuntu') && !matrix.docker }}"
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 1
Expand All @@ -179,7 +179,7 @@ jobs:

- name: Tests + GC Tests (Release)
if: ${{ !matrix.docker }}
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 1
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
}
},
"engines": {
"node": ">= 10.2"
"node": ">= 10.2",
"pnpm": ">= 9"
},
"files": [
"CHANGELOG.md",
Expand Down

0 comments on commit 32d6877

Please sign in to comment.