Debian Codegraph @

autoprefixer/.github/workflows/test.yml

raw symbols SCIP
1 name: Test
2 on:
3 push:
4 branches:
5 - main
6 pull_request:
7 permissions:
8 contents: read
9 jobs:
10 full:
11 name: Node.js Latest Full
12 runs-on: ubuntu-latest
13 steps:
14 - name: Checkout the repository
15 uses: actions/checkout@v4
16 - name: Install pnpm
17 uses: pnpm/action-setup@v4
18 with:
19 version: 10
20 - name: Install Node.js
21 uses: actions/setup-node@v4
22 with:
23 node-version: 23
24 cache: pnpm
25 - name: Install dependencies
26 run: pnpm install --frozen-lockfile --ignore-scripts
27 - name: Run tests
28 run: pnpm test
29 short:
30 runs-on: ubuntu-latest
31 strategy:
32 matrix:
33 node-version:
34 - 22
35 - 20
36 - 18
37 name: Node.js ${{ matrix.node-version }} Quick
38 steps:
39 - name: Checkout the repository
40 uses: actions/checkout@v4
41 - name: Install pnpm
42 uses: pnpm/action-setup@v4
43 with:
44 version: 10
45 - name: Install Node.js ${{ matrix.node-version }}
46 uses: actions/setup-node@v4
47 with:
48 node-version: ${{ matrix.node-version }}
49 cache: pnpm
50 - name: Install dependencies
51 run: pnpm install --frozen-lockfile --ignore-scripts
52 - name: Run unit tests
53 run: pnpm unit
54 old:
55 runs-on: ubuntu-latest
56 strategy:
57 matrix:
58 node-version:
59 - 16
60 - 14
61 - 12
62 - 10
63 name: Node.js ${{ matrix.node-version }} Quick
64 steps:
65 - name: Checkout the repository
66 uses: actions/checkout@v4
67 - name: Install pnpm
68 uses: pnpm/action-setup@v1
69 with:
70 version: 3
71 env:
72 ACTIONS_ALLOW_UNSECURE_COMMANDS: true
73 - name: Install Node.js ${{ matrix.node-version }}
74 uses: actions/setup-node@v4
75 with:
76 node-version: ${{ matrix.node-version }}
77 - name: Install dependencies
78 run: pnpm install --no-frozen-lockfile --ignore-scripts
79 - name: Run unit tests
80 run: pnpm unit