Skip to content

Merge pull request #365 from NDLANO/dependabot/npm_and_yarn/webpack-5… #734

Merge pull request #365 from NDLANO/dependabot/npm_and_yarn/webpack-5…

Merge pull request #365 from NDLANO/dependabot/npm_and_yarn/webpack-5… #734

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