Skip to content

Commit

Permalink
ci: use latest LTS Node in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Feb 21, 2024
1 parent 4c83b6e commit 9b9a089
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
node-version: "lts/*"
cache: "yarn"
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies with Yarn
Expand All @@ -39,8 +39,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
node-version: "lts/*"
cache: "yarn"
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies with Yarn
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@ jobs:
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
cache: yarn
if: ${{ steps.release.outputs.release_created }}
- name: Setup Bun
if: ${{ steps.release.outputs.release_created }}
uses: oven-sh/setup-bun@v1
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts'
registry-url: 'https://registry.npmjs.org'
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies with Yarn
if: ${{ steps.release.outputs.release_created }}
run: yarn install --immutable
Expand Down

0 comments on commit 9b9a089

Please sign in to comment.