Skip to content

Merge pull request #31 from RomaDevWorld/dependabot/npm_and_yarn/foll… #100

Merge pull request #31 from RomaDevWorld/dependabot/npm_and_yarn/foll…

Merge pull request #31 from RomaDevWorld/dependabot/npm_and_yarn/foll… #100

Workflow file for this run

name: Lint and Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint
- name: Build
run: yarn build