Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samoshaughnessy committed Feb 21, 2024
1 parent ec5cd32 commit 3d4f5a3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will launch a clean Ubuntu OS, install app dependencies and run tests
name: CI

# Run on push or PR to main branch
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
# Specify which OS to run this workflow on
runs-on: ubuntu-latest

strategy:
matrix:
# Specify Node version
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# npm ci is a built-in script to install dependencies from package-lock.json
- run: npm ci
# Run tests
- run: npm test

0 comments on commit 3d4f5a3

Please sign in to comment.