Skip to content

Commit 5ede52b

Browse files
Fdawgsanonrig
authored andcommitted
ci: update workflows
1 parent e818ac8 commit 5ede52b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ on:
88
branches:
99
- main
1010

11+
# This allows a subsequently queued workflow run to interrupt previous runs
12+
concurrency:
13+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
14+
cancel-in-progress: true
15+
1116
jobs:
1217
test:
1318
runs-on: ubuntu-latest
1419
permissions:
1520
contents: read
1621
steps:
1722
- uses: actions/checkout@v3
23+
with:
24+
persist-credentials: false
1825

1926
- name: Use Node.js
2027
uses: actions/setup-node@v3
@@ -29,7 +36,7 @@ jobs:
2936
run_install: true
3037

3138
- name: Install dependencies
32-
run: pnpm install
39+
run: pnpm install --ignore-scripts
3340

3441
- name: Linter
3542
run: pnpm run format:ci

0 commit comments

Comments
 (0)