Skip to content

Commit

Permalink
ci: Add GH workflow for runner
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Aug 9, 2023
1 parent dc69002 commit 9260910
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/runner-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Runner CI

on:
pull_request:
paths:
- "runner/**"

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Install Node Dependencies
run: npm install
working-directory: ./runner

- name: Test
run: npm test
working-directory: ./runner
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Install Node Dependencies
run: npm install
working-directory: ./runner

- name: Lint
run: npm run lint
working-directory: ./runner
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Install Node Dependencies
run: npm install
working-directory: ./runner

- name: Build
run: npm run build
working-directory: ./runner

0 comments on commit 9260910

Please sign in to comment.