Skip to content

Commit

Permalink
chore: [#3] added github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnorman committed May 11, 2022
1 parent c399eee commit e62757c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
push:
branches: [$default-branch]
pull_request:
branches: ['**']

jobs:
build:
runs-on: ubuntu-latest
container:
image: node:16.13.1-alpine
# this is the user that CI uses, which is needed to generate files within the repo directory
options: --user 1001

steps:
- name: Check out code
uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint

0 comments on commit e62757c

Please sign in to comment.