Skip to content

GHA for pull request to master #2

GHA for pull request to master

GHA for pull request to master #2

Workflow file for this run

name: Pull request checks
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install npm dependencies
run: npm ci
- name: Run Prettier check
run: npm run prettier
- name: Run TSLint
run: npm run tslint
- name: Build and test
run: npm run build