Skip to content

Update GitHub Actions versions for code analysis and Docker image pub… #1

Update GitHub Actions versions for code analysis and Docker image pub…

Update GitHub Actions versions for code analysis and Docker image pub… #1

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Lint
run: npm run lint
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Prettier check
run: npm run format:check