Bump eslint-plugin-react-hooks from 5.1.0-rc-06d0b89e-20240801 to 5.1.0-rc.1 #990
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: Bygg PR | |
on: | |
merge_group: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
jobs: | |
build: | |
name: Bygg PR og kjør tester | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
node-version: 20 | |
registry-url: "https://npm.pkg.github.com" | |
- name: Yarn build | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
run: | | |
yarn install | |
yarn build | |
eslint: | |
name: ⬣ ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
node-version: 20 | |
registry-url: "https://npm.pkg.github.com" | |
- name: 📥 Install deps | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
run: yarn | |
- name: 🔬 Kjør sjekk med esLint | |
run: yarn eslint-check | |
lint: | |
name: ✨ Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
node-version: 20 | |
registry-url: "https://npm.pkg.github.com" | |
- name: 📥 Install deps | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
run: yarn | |
- name: 🔬 Kjør sjekk med prettier | |
run: yarn prettier-check | |
typecheck: | |
name: ʦ TypeScript | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
node-version: 20 | |
registry-url: "https://npm.pkg.github.com" | |
- name: 📥 Install deps | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
run: yarn | |
- name: 🔎 Type check | |
run: yarn typecheck |