Compare commits
2 commits
062c0c3473
...
2308a72c7a
Author | SHA1 | Date | |
---|---|---|---|
2308a72c7a | |||
5fe1066de2 |
1 changed files with 28 additions and 0 deletions
28
.forgejo/workflows/test.yml
Normal file
28
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Testing
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: docker
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: npm test
|
Loading…
Add table
Reference in a new issue