Skip to content

Merge pull request #21 from nlxai/standard-linting-and-prettifying #193

Merge pull request #21 from nlxai/standard-linting-and-prettifying

Merge pull request #21 from nlxai/standard-linting-and-prettifying #193

Workflow file for this run

name: Test project files on push
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- name: Installing node_modules
run: npm install
- name: Build the app
run: npm run build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- name: Installing node_modules
run: npm install
- name: Test the app
run: npm run test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- name: Installing node_modules
run: npm install
- name: Run lint
run: npm run lint:check
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- name: Installing node_modules
run: npm install
- name: Run tsc
run: npm run tsc