Skip to content

Commit 8c50e3e

Browse files
committed
add tests
1 parent 7c85fe9 commit 8c50e3e

File tree

8 files changed

+1480
-1
lines changed

8 files changed

+1480
-1
lines changed

.github/workflows/main.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: JobSimulator.dev Test Checker
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the "main" branch
6+
push:
7+
branches: ["main"]
8+
pull_request:
9+
branches: ["main"]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
test:
18+
# The type of runner that the job will run on
19+
runs-on: ubuntu-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- uses: actions/checkout@v3
25+
26+
- uses: actions/setup-node@v3
27+
with:
28+
node-version: 16
29+
30+
- name: npm install
31+
run: cd .github/workflows && npm i
32+
33+
- name: Run Tests
34+
run: node .github/workflows/test.js

0 commit comments

Comments
 (0)