Skip to content

Commit

Permalink
Add Github action for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niho committed Aug 25, 2023
1 parent 3a45463 commit c5a4ecc
Show file tree
Hide file tree
Showing 4 changed files with 3,627 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [19.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
elm-stuff/
node_modules/
Loading

0 comments on commit c5a4ecc

Please sign in to comment.