chore(deps): update dependency eslint-config-next to v15 #829
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set Node.js | |
uses: actions/setup-node@master | |
with: | |
node-version: 12.x | |
- name: Cache .pnpm-store | |
uses: actions/cache@v2 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
- name: Next.js cache | |
uses: actions/cache@v2 | |
with: | |
path: ${{ github.workspace }}/.next/cache | |
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }} | |
- name: Install pnpm | |
run: curl -f https://get.pnpm.io/v6.js | node - add --global pnpm@6 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint | |
run: | | |
pnpm lint | |
pnpx prettier --check . |