Skip to content

Commit

Permalink
Improve CI
Browse files Browse the repository at this point in the history
  • Loading branch information
morewings committed Jun 27, 2024
1 parent d646a64 commit d8586b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/merge-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
uses: actions/checkout@v4

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
id: nvm

- name: Use Node.js ${{ steps.nvm.outputs.NVMRC }}
- name: Use Node.js ${{ env.NVMRC }}
uses: actions/setup-node@v4
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
node-version: ${{ env.NVMRC }}

- name: Install pnpm
uses: pnpm/action-setup@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
uses: actions/checkout@v4

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
id: nvm

- name: Use Node.js ${{ steps.nvm.outputs.NVMRC }}
- name: Use Node.js ${{ env.NVMRC }}
uses: actions/setup-node@v4
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
node-version: ${{ env.NVMRC }}

- name: Install pnpm
uses: pnpm/action-setup@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
uses: actions/checkout@v4

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
id: nvm

- name: Use Node.js ${{ steps.nvm.outputs.NVMRC }}
- name: Use Node.js ${{ env.NVMRC }}
uses: actions/setup-node@v4
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
node-version: ${{ env.NVMRC }}

- name: Install pnpm
uses: pnpm/action-setup@v3
Expand Down

0 comments on commit d8586b3

Please sign in to comment.