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' (#2904)

* chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node'

* chore(.github/workflows/ecosystem-ci.yml): change 'node-version' to 'latest' in 'actions/setup-node'

* chore(.github/workflows): add single quote for consistency

* Update .github/workflows/ecosystem-ci.yml

Co-authored-by: Daishi Kato <[email protected]>

---------

Co-authored-by: Daishi Kato <[email protected]>
  • Loading branch information
sukvvon and dai-shi authored Jan 4, 2025
1 parent 84dc6b6 commit 4be4deb
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 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/livecodes-preview.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: live-codes/preview-in-livecodes@v1
with:
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 @@ -40,7 +40,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 'lts/*'
cache: 'pnpm'
- run: pnpm install
- name: Install legacy testing-library
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 @@ -36,7 +36,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 4be4deb

Please sign in to comment.