@@ -14,80 +14,82 @@ jobs:
1414 name : Unit tests
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
17+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1818 with :
1919 persist-credentials : false
20- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6
21- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
20+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
21+ - name : Use Node.js
22+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
2223 with :
24+ cache : ' pnpm'
2325 node-version : 24
24- cache : pnpm
2526 - run : pnpm install --frozen-lockfile
2627 - run : pnpm test
27- - name : Upload coverage reports to Codecov
28- uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
29- with :
30- token : ${{ secrets.CODECOV_TOKEN }}
31- slug : projectwallace/css-code-quality
3228
3329 check :
3430 name : Check types
3531 runs-on : ubuntu-latest
3632 steps :
37- - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
33+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3834 with :
3935 persist-credentials : false
40- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6
41- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
36+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
37+ - name : Use Node.js
38+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
4239 with :
40+ cache : ' pnpm'
4341 node-version : 24
44- cache : pnpm
4542 - run : pnpm install --frozen-lockfile
4643 - run : pnpm run check
4744
4845 build :
4946 name : Build
5047 runs-on : ubuntu-latest
5148 steps :
52- - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
49+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5350 with :
5451 persist-credentials : false
55- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6
56- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
52+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
53+ - name : Use Node.js
54+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
5755 with :
56+ cache : ' pnpm'
5857 node-version : 24
59- cache : pnpm
6058 - run : pnpm install --frozen-lockfile
6159 - run : pnpm run build
6260
6361 lint :
6462 name : Lint
6563 runs-on : ubuntu-latest
6664 steps :
67- - name : Checkout code
68- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
65+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6966 with :
7067 persist-credentials : false
71- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6
72- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
68+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
69+ - name : Use Node.js
70+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
7371 with :
72+ cache : ' pnpm'
7473 node-version : 24
75- cache : pnpm
7674 - run : pnpm install --frozen-lockfile
7775 - run : pnpm run lint
7876
7977 npm-audit :
8078 name : Audit packages
8179 runs-on : ubuntu-latest
8280 steps :
83- - name : Checkout code
84- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
81+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8582 with :
8683 persist-credentials : false
87- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6
88- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
89- with :
90- node-version : 24
91- cache : pnpm
92- - run : pnpm install --frozen-lockfile
84+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
9385 - run : pnpm audit --audit-level=high
86+
87+ knip :
88+ name : Lint unused code
89+ runs-on : ubuntu-latest
90+ steps :
91+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
92+ with :
93+ persist-credentials : false
94+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
95+ - run : pnpm run knip
0 commit comments