File tree Expand file tree Collapse file tree 4 files changed +37
-43
lines changed Expand file tree Collapse file tree 4 files changed +37
-43
lines changed Original file line number Diff line number Diff line change 55 autofix :
66 runs-on : ubuntu-latest
77 steps :
8- - uses : actions/checkout@v4
8+ - uses : actions/checkout@v5
99 - run : npm i -fg corepack && corepack enable
1010 - uses : actions/setup-node@v6
11- with : { node-version: lts/*, cache: " pnpm" }
11+ with : { node-version: lts/*, cache: pnpm }
1212 - run : pnpm install
1313 - run : pnpm lint:fix
1414 - uses : autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on :
4+ push : { branches: [main] }
5+ pull_request : { branches: [main] }
6+
7+ jobs :
8+ tests :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v5
12+ - run : npm i -g --force corepack && corepack enable
13+ - uses : actions/setup-node@v6
14+ with : { node-version: lts/*, cache: pnpm }
15+ - run : pnpm install
16+ - run : pnpm lint
17+ - run : pnpm test:types
18+ - run : pnpm build
19+ - run : pnpm vitest --coverage
20+ - uses : codecov/codecov-action@v3
21+ with : { token: "${{ secrets.CODECOV_TOKEN }}" }
22+ publish :
23+ runs-on : ubuntu-latest
24+ permissions : { id-token: write, contents: read }
25+ needs : tests
26+ if : contains('refs/heads/main', github.ref) && github.event_name == 'push'
27+ steps :
28+ - uses : actions/checkout@v5
29+ with : { fetch-depth: 0 }
30+ - run : npm i -fg corepack && corepack enable
31+ - uses : actions/setup-node@v6
32+ with : { node-version: lts/*, cache: "pnpm" }
33+ - run : pnpm install
34+ - run : pnpm changelogen --bump --canary nightly
35+ - run : npm i -g npm@latest && npm publish --tag latest
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments