Skip to content

Commit 7045161

Browse files
committed
workflow
1 parent 27ff35a commit 7045161

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
name: Main
22
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 1 * * *"
36
push:
47
branches:
58
- main
69

710
permissions:
811
actions: write
912
contents: read
13+
id-token: write
1014

1115
jobs:
1216
build:
1317
runs-on: ubuntu-latest
1418
strategy:
1519
matrix:
16-
node: [ 18 ]
20+
node: [ 18, 20 ]
21+
1722
name: Node ${{ matrix.node }} sample
1823
steps:
19-
- name: Cancel Previous Runs
20-
uses: styfle/[email protected]
21-
2224
- name: Checkout repo
2325
uses: actions/checkout@v4
2426

@@ -33,7 +35,7 @@ jobs:
3335
- name: Run tests
3436
run: npm test
3537

36-
- uses: qltyai/qlty-action/coverage@main
38+
- uses: qltysh/qlty-action/coverage@main
3739
with:
38-
coverage-token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
39-
file: coverage/lcov.info
40+
oidc: true
41+
files: coverage/lcov.info

0 commit comments

Comments
 (0)