This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
Initial Commit #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Project Orion CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: npm Clean Install | |
run: npm ci | |
- name: Test JSON Files | |
run: cd data && node test.js | |
- name: Test Orion Source Files | |
run: | | |
npm i --include=dev | |
npm run jshint *.js src/*.js | |
#- name: Test RedFox Source Files | |
# run: | | |
# npm run jshint src/redfox/*.js src/redfox/src/*.js | |