Skip to content

Merge pull request #1060 from github/v2.9.0-release-notes #5438

Merge pull request #1060 from github/v2.9.0-release-notes

Merge pull request #1060 from github/v2.9.0-release-notes #5438

Workflow file for this run

name: 'test'
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Read .nvmrc
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
- name: Install npm dependencies
run: npm clean-install
- name: Check formatting
run: npm run format-check
- name: Run linter
run: npm run lint-check
- name: Run tests
run: npm run test