Skip to content

ci: switch to npm trusted publishing (OIDC) for releases #381

ci: switch to npm trusted publishing (OIDC) for releases

ci: switch to npm trusted publishing (OIDC) for releases #381

Workflow file for this run

name: Lint
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
environment: CI
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit
- name: Checkout source
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Corepack + yarn
run: |
npm install -g corepack
yarn set version 4.9.2
- name: Install dependencies
run: yarn
- name: Run linter
run: yarn lint
- name: Check formatting
run: yarn format:check