build(deps): bump actions/setup-node from 3 to 4 #2
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: Tests and Checks | |
on: | |
pull_request: | |
jobs: | |
security: | |
uses: lidofinance/linters/.github/workflows/security.yml@master | |
permissions: | |
security-events: write | |
contents: read | |
docker: | |
uses: lidofinance/linters/.github/workflows/docker.yml@master | |
todos: | |
if: ${{ github.repository != 'lidofinance/lido-frontend-template' }} | |
uses: lidofinance/linters/.github/workflows/todos.yml@master | |
actions: | |
uses: lidofinance/linters/.github/workflows/actions.yml@master | |
lint_and_build: | |
runs-on: ubuntu-latest | |
name: Lint and build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Lint | |
run: yarn lint | |
- name: Check types | |
run: yarn types | |
- name: Build | |
run: yarn build |