Skip to content

ci: update actions and use set node version #201

ci: update actions and use set node version

ci: update actions and use set node version #201

Workflow file for this run

name: Checks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches: [main]
pull_request:
types: [
synchronize, # PR was updated
opened, # PR was open
reopened, # PR was closed and is now open again
ready_for_review, # PR was converted from draft to open
]
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ env.GITHUB_TOKEN }}
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
run: npm ci --legacy-peer-deps
- name: Check Docs
run: npm run check-docs
- name: Check Typing
run: npm run check-typing
- name: Check Formatting
run: npm run check-formatting
- name: Lint
run: npm run lint
- name: Check Prepack
run: npm run prepack