Merge pull request #365 from NDLANO/dependabot/npm_and_yarn/webpack-5… #734
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: Node.js CI | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node.js dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Lint | |
run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node.js dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Test | |
run: npm run test | |
env: | |
CI: true | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node.js dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Build | |
run: npm run build |