@caweb/css-audit-webpack-plugin 1.0.12 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,19 +14,19 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
16
  - name: Checkout CSS Audit
17
- uses: actions/checkout@v2
18
- with:
19
- ref: report
17
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+
20
19
  - name: Checkout WordPress Core
21
- uses: actions/checkout@v2
20
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
21
  with:
23
22
  repository: WordPress/wordpress-develop
24
23
  path: wordpress
25
24
 
26
- - name: Set up Node.js
27
- uses: actions/setup-node@v1
25
+ - name: Use Node.js
26
+ uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
28
27
  with:
29
- node-version: 14.x
28
+ node-version-file: ".nvmrc"
29
+ cache: "npm"
30
30
 
31
31
  - name: Install dependencies
32
32
  run: npm install
@@ -34,13 +34,14 @@ jobs:
34
34
  - name: Build the audit report
35
35
  run: npm run css-audit -- wordpress/src/wp-admin/css/*.css wordpress/src/wp-includes/css/*.css
36
36
 
37
- - name: Commit changes
38
- uses: EndBug/add-and-commit@v5
37
+ - name: Remove WordPress files
38
+ run: rm -rf wordpress
39
+
40
+ - name: Commit and push
41
+ uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 # 1.5
39
42
  with:
40
- author_name: github-actions
41
- author_email: 41898282+github-actions[bot]@users.noreply.github.com
43
+ github_token: ${{ secrets.GITHUB_TOKEN }}
42
44
  message: "[Automated] Update report"
43
45
  branch: "report"
44
- add: "public"
45
- env:
46
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
+ rebase: true
47
+ force: true
@@ -8,10 +8,11 @@ jobs:
8
8
  merge-branch:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
- - uses: actions/checkout@v2
11
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
12
+
12
13
  - name: Merge trunk -> report
13
- uses: devmasx/merge-branch@v1.3.1
14
+ uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 # 1.5
14
15
  with:
15
- type: now
16
- target_branch: report
17
16
  github_token: ${{ secrets.GITHUB_TOKEN }}
17
+ message: ${{ github.event.head_commit.message }}
18
+ branch: "report"
@@ -1,4 +1,4 @@
1
- name: Node.js CI
1
+ name: JavaScript Tests
2
2
 
3
3
  on:
4
4
  push:
@@ -13,17 +13,14 @@ jobs:
13
13
 
14
14
  runs-on: ubuntu-latest
15
15
 
16
- strategy:
17
- matrix:
18
- node-version: [14.x]
19
-
20
16
  steps:
21
- - uses: actions/checkout@v2
17
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
18
 
23
- - name: Use Node.js ${{ matrix.node-version }}
24
- uses: actions/setup-node@v1
19
+ - name: Use Node.js
20
+ uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
25
21
  with:
26
- node-version: ${{ matrix.node-version }}
22
+ node-version-file: ".nvmrc"
23
+ cache: "npm"
27
24
 
28
25
  - run: npm install
29
26
 
@@ -1 +1 @@
1
- 14
1
+ 20