mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-22 06:21:28 +00:00
Add GitHub Action to run CI tests (#162)
This commit is contained in:
parent
361643c3da
commit
634341ea07
1 changed files with 21 additions and 0 deletions
21
.github/workflows/build-test.yml
vendored
Normal file
21
.github/workflows/build-test.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: build-test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["master"]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
- name: Run tests
|
||||
run: yarn test
|
Loading…
Reference in a new issue