diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30df415f..cce03e6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16] + node: [18] steps: - uses: actions/setup-node@v3 @@ -25,18 +25,21 @@ jobs: - name: checkout uses: actions/checkout@master + - name: install pnpm + run: npm install -g pnpm + - name: cache node_modules uses: actions/cache@v3 with: path: node_modules - key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} + key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/pnpm-lock.yaml')) }} - name: Install dependencies if: steps.cache.outputs.cache-hit != 'true' - run: yarn + run: pnpm install - name: Lint - run: yarn lint + run: pnpm run lint # - name: Test # run: yarn test