Skip to content

rework project structure #1

rework project structure

rework project structure #1

Workflow file for this run

name: Test Project
# run this each time a new push happens to our repository
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get code from repository
# using the github checkout action
# with allows you to provide configuration
# by default the repository that the workflow exists on will be used
uses: actions/[email protected]
- name: Install NodeJS
# may not necessarily have to do this
# nodejs comes installed on the latest ubuntu
uses: actions/[email protected]
with:
node-version: 18
- name: Install dependencies
run: npm ci # npm ci makes sure that you use the version in the package.lock file
- name: Run tests
run: npm test