refactor: Move Context object to new class #626
Workflow file for this run
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: 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 |