diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e21107..b0d62d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,22 +20,16 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - name: Use Node.js 14.x - uses: actions/setup-node@v2 + - name: Use Node.js 18.x + uses: actions/setup-node@v3 with: - node-version: 14.x - - - name: Cache .pnpm-store - uses: actions/cache@v1 - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-node14-${{ hashFiles('**/pnpm-lock.yaml') }} + node-version: 18 + cache: pnpm - name: Install pnpm - run: curl -f https://get.pnpm.io/v6.js | node - add --global pnpm@6 + run: npx pnpm@8 add --global pnpm@8 - name: Install dependencies - if: steps.cache_node_modules.outputs.cache-hit != 'true' run: | pnpm install --frozen-lockfile