Skip to content

Commit

Permalink
Build and test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
darichey committed Nov 8, 2023
1 parent 6579261 commit f96b6f8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Test

on:
push:
branches:
- master
pull_request:

jobs:
build_and_test:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "17"
cache: "npm"

- run: npm ci
- run: npm run build
- run: npm run test

0 comments on commit f96b6f8

Please sign in to comment.