upgrade to node v18, GHA #8
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: CI | |
on: pull_request | |
jobs: | |
test: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: Brightspace/third-party-actions@actions/checkout | |
- name: Setup Node | |
uses: Brightspace/third-party-actions@actions/setup-node | |
with: | |
node-version-file: .nvmrc | |
- name: Install dependencies | |
run: npm install | |
- name: Lint and Test | |
run: npm run test | |
- name: Build Sample | |
run: npm run build-sample | |
- name: Report Coverage | |
run: npm run report-coverage |