Skip to content

Update node and permissions to allow publishing via OIDC #79

Update node and permissions to allow publishing via OIDC

Update node and permissions to allow publishing via OIDC #79

name: Style and Syntax Checks
on:
pull_request:
types: [opened, synchronize]
jobs:
checks:
runs-on: ubuntu-latest
steps:
# v4.2.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# v4.3.0
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
with:
node-version-file: '.nvmrc'
cache: npm
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npx eslint src
- name: Run Prettier
run: npx prettier . --check
- name: Run TypeScript checks
run: npm run ts