diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 84ff04fda..32c7f3232 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -25,10 +25,10 @@ jobs: steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - - name: Use Node 16 + - name: Node uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 with: - node-version: 16 + node-version-file: '.nvmrc' - name: Cache pnpm modules uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 @@ -40,12 +40,10 @@ jobs: restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- - - uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # tag=v2.4.0 - with: - version: latest-8 - run_install: | - - recursive: true - args: [--frozen-lockfile] + - name: Install pnpm + run: | + corepack enable + corepack install - name: Build run: pnpm build - name: Build Translations percentage