Skip to content

Commit 136739c

Browse files
authored
EC3-1545 migrate from travis.yml to GHA
1 parent 102fe39 commit 136739c

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/run-tests.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# .github/workflows/nodejs-ci.yml
2+
name: Run Tests for Nuclear JS
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
# Checkout the code
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
# Set up Node.js
22+
- name: Set up Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 0.10
26+
27+
# Install grunt-cli globally
28+
- name: Install grunt-cli
29+
run: npm install -g grunt-cli
30+
31+
# Install dependencies
32+
- name: Install dependencies
33+
run: npm install
34+
35+
# Run tests
36+
- name: Run tests
37+
run: npm test

0 commit comments

Comments
 (0)