Skip to content

Commit a188f77

Browse files
committed
feat/ci: add permissions and arm support to test workflow
Signed-off-by: Dharun Krishna K B <kbdharunkrishna@gmail.com>
1 parent 0e7a115 commit a188f77

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ jobs:
88

99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, macos-latest, windows-latest]
11+
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm]
1212
node-version: [22.x, 23.x, 24.x]
1313

1414
name: Node ${{ matrix.node-version }} - ${{ matrix.os }}
1515

16+
permissions:
17+
actions: write # Required for canceling previous workflow runs
18+
contents: read
19+
1620
steps:
1721
- name: Cancel Previous Runs
1822
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -36,6 +40,10 @@ jobs:
3640

3741
build-image:
3842
runs-on: ubuntu-latest
43+
needs: build
44+
permissions:
45+
contents: read
46+
3947
steps:
4048
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4149

0 commit comments

Comments
 (0)