-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 794 Bytes
/
test.yml
File metadata and controls
27 lines (27 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Tests
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.4
bundler-cache: true
- uses: actions/cache@v4
with:
path: "./vendor/bundle"
key: v1/${{ runner.os }}/ruby-3.4/${{ hashFiles('**/Gemfile.lock') }}
restore-keys: v1/${{ runner.os }}/ruby-3.4/
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: ~/.npm
key: v1/${{ runner.os }}/node-20/${{ hashFiles('**/package-lock.json') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: make test
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}