-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (32 loc) · 761 Bytes
/
js-test.yml
File metadata and controls
33 lines (32 loc) · 761 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
27
28
29
30
31
32
33
name: JS Test
on:
push:
branches:
- master
# renovate/** branches are generated by https://github.com/apps/renovate
- renovate/**
pull_request:
types:
- opened
- synchronize
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
# registry-url: "https://registry.npmjs.org"
node-version: 16
cache: pnpm
- name: install dependencies
run: pnpm install --frozen-lockfile
- name: run test
run: pnpm test:cov
- uses: codecov/codecov-action@v3