Save #1440
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
# This workflow will install node dependencies (and cache them) and run node.js tests | |
name: Node.js CI | |
on: [push] | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Setup env file | |
run: cp .env.example .env | |
- run: npm install | |
- run: npm run test |