Skip to content

EC3-1545 migrate from travis.yml to GHA #1

EC3-1545 migrate from travis.yml to GHA

EC3-1545 migrate from travis.yml to GHA #1

Workflow file for this run

# .github/workflows/nodejs-ci.yml
name: Run Tests for Nuclear JS
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the code
- name: Checkout code
uses: actions/checkout@v4
# Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 0.10
# Install grunt-cli globally
- name: Install grunt-cli
run: npm install -g grunt-cli
# Install dependencies
- name: Install dependencies
run: npm install
# Run tests
- name: Run tests
run: npm test