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 ffb3340 commit 03b829b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
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: 22
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: 22
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: 22
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: 22
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: 22
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: 22
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- name: Test ${{ matrix.react }} ${{ matrix.devtools-skip }}
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: 22
node-version: lts/*
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
Expand Down

0 comments on commit 03b829b

Please sign in to comment.