wip #438
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
on: [push, pull_request] | |
name: Test and Lint | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install NodeJS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.x | |
- name: Verify versions | |
run: node --version && npm --version && node -p process.versions.v8 | |
- name: Cache build context | |
id: cache-node | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.npm | |
node_modules | |
key: ${{ runner.os }}-node | |
- name: Install dependencies | |
run: npm install --no-audit | |
# TODO: re-enable when code matures | |
# - name: Run lints | |
# run: npm run lint |