-
-
Notifications
You must be signed in to change notification settings - Fork 83
39 lines (33 loc) · 981 Bytes
/
test_js.yml
File metadata and controls
39 lines (33 loc) · 981 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
36
37
38
39
# 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
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
permissions: {}
jobs:
test_js:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
- name: Setup Node.js
# see https://github.com/actions/setup-node
uses: actions/setup-node@v6
with:
node-version: '24.x'
package-manager-cache: false
- name: Install Dependencies
run: npm install
- name: Run test
run: npm test