Adding note for CivicActions that this is a fork and generally should… #1
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: Run tests on every commit | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Add node | |
- name: Setup Node version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
# Add a project to work on | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
# Install dependencies | |
- name: Install dependencies | |
run: npm install | |
# Which file to act upon | |
- name: Run tests | |
run: npm test |