Skip to content

Commit

Permalink
ci: 仅约束 actions 主版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
suiyun39 committed Dec 12, 2023
1 parent 97a9377 commit f6ee88f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2.2.4
- uses: actions/setup-node@v3.6.0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: latest
cache: pnpm

- run: pnpm install
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run build

- uses: codecov/codecov-action@v3.1.2
- uses: codecov/codecov-action@v3
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2.2.4
- uses: actions/setup-node@v3.6.0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: latest
registry-url: 'https://registry.npmjs.org'
cache: pnpm

Expand Down

0 comments on commit f6ee88f

Please sign in to comment.