Skip to content

Commit 6f229a1

Browse files
authored
chore(templates/plugin): update ci example (#811)
Signed-off-by: Frazer Smith <[email protected]>
1 parent acd4238 commit 6f229a1

File tree

1 file changed

+10
-4
lines changed
  • templates/plugin/.github/workflows

1 file changed

+10
-4
lines changed

templates/plugin/.github/workflows/ci.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
name: CI workflow
22
on: [push, pull_request]
3+
permissions:
4+
contents: read
35
jobs:
46
test:
57
runs-on: ${{ matrix.os }}
8+
permissions:
9+
contents: read
610
strategy:
711
matrix:
8-
node-version: [10.x, 12.x, 14.x]
9-
os: [ubuntu-latest, windows-latest]
12+
node-version: [20.x, 22.x]
13+
os: [macos-latest, ubuntu-latest, windows-latest]
1014
steps:
11-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
16+
with:
17+
persist-credentials: false
1218
- name: Use Node.js ${{ matrix.node-version }}
13-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v4
1420
with:
1521
check-latest: true
1622
node-version: ${{ matrix.node-version }}

0 commit comments

Comments
 (0)