From d8586b3eebe089be586ae01d367bfa620042df7d Mon Sep 17 00:00:00 2001 From: Dima Vyshniakov Date: Thu, 27 Jun 2024 22:24:15 +0200 Subject: [PATCH] Improve CI --- .github/workflows/merge-jobs.yml | 6 +++--- .github/workflows/pages.yml | 6 +++--- .github/workflows/pull-request-jobs.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/merge-jobs.yml b/.github/workflows/merge-jobs.yml index ff1beea..423708f 100644 --- a/.github/workflows/merge-jobs.yml +++ b/.github/workflows/merge-jobs.yml @@ -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 diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 0018625..3888cd8 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 53eda6d..f53d4ca 100644 --- a/.github/workflows/pull-request-jobs.yml +++ b/.github/workflows/pull-request-jobs.yml @@ -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