Skip to content

Commit

Permalink
create lint-build-test action
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanBonsignori committed Feb 14, 2024
1 parent 66ab3fc commit 091b6a1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lint-build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Lint, Build, and Test

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main

jobs:
lint-build-test:
name: Lint, Build, and Test
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-file: .nvmrc
cache: "npm"
- run: npm ci
- run: npm run lint
# todo: setup test
# - run: npm run test
- run: npm run build

0 comments on commit 091b6a1

Please sign in to comment.