bitburner-src/.github/workflows/test.yml

26 lines
690 B
YAML
Raw Normal View History

2021-09-06 22:15:46 +02:00
name: CI
2021-09-06 22:46:59 +02:00
on: [push, pull_request]
2021-09-06 22:15:46 +02:00
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
2021-09-06 22:46:59 +02:00
test:
2021-09-06 22:15:46 +02:00
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
2021-09-06 22:31:01 +02:00
- uses: actions/setup-node@v2
2021-09-06 22:29:35 +02:00
with:
2021-09-06 22:31:01 +02:00
node-version: "14"
cache: "npm"
- name: Install Dependencies
run: npm ci
2021-09-06 22:29:35 +02:00
- name: Test
run: npm run test