ROU-11344: Adding files from OML #26
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: PullRequest into Dev branch | |
on: | |
# Triggers the workflow on push events but only for the "dev" branch. | |
pull_request: | |
branches: ['dev'] | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- name: Checkout branch dev | |
uses: actions/checkout@v2 | |
- name: Install project dependencies | |
run: npm install | |
- name: Run lint | |
run: npm run lint | |
compile-code: | |
needs: eslint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch dev | |
uses: actions/checkout@v2 | |
- name: Install project dependencies | |
run: npm install | |
- name: Compile code | |
run: npm run build |