-
-
Notifications
You must be signed in to change notification settings - Fork 83
35 lines (30 loc) · 792 Bytes
/
test_js.yml
File metadata and controls
35 lines (30 loc) · 792 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
34
35
# docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: CT JavaScript
on:
push:
branches: ['master', 'main']
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
working-directory: tools/src/test/js
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v4
- name: Setup Node.js
# see https://github.com/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install Depenencies
run: npm install
- name: Run test
run: npm test