diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index fe7ec16..33a261c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -26,13 +26,13 @@ jobs: persist-credentials: false - 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 diff --git a/.github/workflows/merge-jobs.yml b/.github/workflows/merge-jobs.yml index d442f3b..9fbc25d 100644 --- a/.github/workflows/merge-jobs.yml +++ b/.github/workflows/merge-jobs.yml @@ -29,13 +29,13 @@ jobs: persist-credentials: false - 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 diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 1216bce..01ef11d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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 diff --git a/.github/workflows/pull-request-jobs.yml b/.github/workflows/pull-request-jobs.yml index abc85eb..2274f03 100644 --- a/.github/workflows/pull-request-jobs.yml +++ b/.github/workflows/pull-request-jobs.yml @@ -24,13 +24,13 @@ jobs: fetch-depth: 0 - 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