-
-
Notifications
You must be signed in to change notification settings - Fork 869
26 lines (23 loc) · 808 Bytes
/
test.yml
File metadata and controls
26 lines (23 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: 24
- name: yarn install
run: yarn --frozen-lockfile
- name: test
run: yarn test
- name: coverage test
run: yarn coverage
- name: perf test
run: yarn test:perf
- uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}