Skip to content

Commit

Permalink
chore(.github/workflows): change 'node-version' to 'lts/*' in 'action…
Browse files Browse the repository at this point in the history
…s/setup-node'
  • Loading branch information
sukvvon committed Jan 3, 2025
1 parent c011cd7 commit efc265f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compressed-size-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
cache: 'pnpm'
- uses: preactjs/compressed-size-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- run: pnpm test:format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-multiple-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-multiple-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- run: pnpm build # we don't have any other workflows to test build
Expand All @@ -38,7 +38,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- run: pnpm build # for macro test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-old-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
Expand Down

0 comments on commit efc265f

Please sign in to comment.