Skip to content

ci: fixes

ci: fixes #55

Workflow file for this run

name: code-gear > lint
on:
pull_request:
branches:
- master
- ci-testing
push:
branches:
- master
- ci-testing
permissions:
contents: write
jobs:
lint:
name: Linting project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- run: |
echo "BASE: ${{ env.NX_BASE }}"
echo "HEAD: ${{ env.NX_HEAD }}"
- name: Installing Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.8.0
cache: 'yarn'
- name: Installing dependencies
run: yarn install --immutable-cache
- name: Linting project
run: yarn dlx nx run root:lint