-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (37 loc) · 885 Bytes
/
perform-test.yml
File metadata and controls
39 lines (37 loc) · 885 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
28
29
30
31
32
33
34
35
36
37
38
39
name: Performing Tests
on:
push:
branches:
- master
paths:
- '.github/workflows/perform-test.yml'
- 'src/**'
- 'tests/**'
- 'pnpm-lock.yaml'
pull_request:
branches:
- master
paths:
- '.github/workflows/perform-test.yml'
- 'src/**'
- 'tests/**'
- 'pnpm-lock.yaml'
jobs:
run-tester:
runs-on: ubuntu-latest
strategy:
matrix:
prettier-version: [v3.0, v3.1, v3.2, v3.3, v3.4, v3.5, v3.6, v3.7, v3.8]
steps:
- uses: actions/checkout@v3
with:
ref: testing-prettier-${{ matrix.prettier-version }}
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v2
with:
run_install: true
- name: Perform a test
run: pnpm run test