mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-28 00:43:03 +00:00
29 lines
433 B
YAML
29 lines
433 B
YAML
|
name: Test
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
|
||
|
runs-on: docker
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4.1.1
|
||
|
|
||
|
- name: Setup Node.js
|
||
|
uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: 20.5.1
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: npm i
|
||
|
|
||
|
- name: Build
|
||
|
run: npm run build
|
||
|
|
||
|
- name: Test
|
||
|
run: npm test
|
||
|
env:
|
||
|
CI: true
|