Skip to content

build(deps-dev): bump eslint-plugin-react-hooks from 4.6.1 to 4.6.2 #954

build(deps-dev): bump eslint-plugin-react-hooks from 4.6.1 to 4.6.2

build(deps-dev): bump eslint-plugin-react-hooks from 4.6.1 to 4.6.2 #954

Workflow file for this run

name: Lint And Build
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install --freeze-lockfile
- name: Lint
run: yarn lint
build:
name: Build
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --freeze-lockfile
- name: Build
run: yarn build
- name: Archive production artifacts
if: github.event.pull_request.merged == true
uses: actions/upload-artifact@v3
with:
name: build
path: |
build