Skip to content

Upgrade GitHub Actions to current major versions #94

Upgrade GitHub Actions to current major versions

Upgrade GitHub Actions to current major versions #94

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: v1/${{ runner.os }}/pip/${{ hashFiles('**/{requirements,development}.txt') }}
restore-keys: v1/${{ runner.os }}/pip/
- uses: actions/cache@v4
with:
path: ~/.npm
key: v1/${{ runner.os }}/node-18/${{ hashFiles('**/package-lock.lock') }}
restore-keys: v1/${{ runner.os }}/node-18/
- name: Run tests
run: make test
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}