Skip to content

Create Actions workflow to deploy to production #27

Create Actions workflow to deploy to production

Create Actions workflow to deploy to production #27

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/setup-node@v4.0.1
with:
node-version: 14
cache: 'npm'
- name: Update npm
run: npm install -g npm@9
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test