used topic presence #2031
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: code-check | |
on: | |
# We never push directly to 'main', so do not run on it | |
push: | |
branches-ignore: | |
- 'main' | |
pull_request: | |
branches-ignore: | |
- 'main' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
# Use node version from '.nvmrc' instead of hardcoding here | |
node-version-file: '.nvmrc' | |
- name: npm ci | |
run: npm ci | |
- name: npm run build:ci | |
run: npm run build:ci | |
- name: Check for Prettier issues | |
run: npm run check:prettier | |
- name: Check for ESLint issues | |
run: npm run check:lint | |
- name: Check for TS issues | |
run: npm run check:types | |
- name: Run tests | |
run: npm run test |