newspack-scripts 5.9.2 → 5.9.4
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.
- package/.github/workflows/release.yml +1 -1
- package/.github/workflows/reusable-build-distributable.yml +1 -1
- package/.github/workflows/reusable-build.yml +1 -1
- package/.github/workflows/reusable-check-typescript.yml +1 -1
- package/.github/workflows/reusable-i18n.yml +1 -1
- package/.github/workflows/reusable-lint-js-scss.yml +1 -1
- package/.github/workflows/reusable-post-release.yml +1 -1
- package/.github/workflows/reusable-release-wporg.yml +7 -7
- package/.github/workflows/reusable-release.yml +4 -2
- package/.github/workflows/reusable-test-js.yml +1 -1
- package/package.json +1 -1
|
@@ -34,14 +34,14 @@ jobs:
|
|
|
34
34
|
node-version-file: '.nvmrc'
|
|
35
35
|
cache: 'npm'
|
|
36
36
|
|
|
37
|
-
- name: Install
|
|
38
|
-
run:
|
|
37
|
+
- name: Install PHP packages
|
|
38
|
+
run: composer install --no-dev --no-scripts
|
|
39
39
|
|
|
40
|
-
- name:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
- name: Install NPM dependencies
|
|
41
|
+
run: npm ci
|
|
42
|
+
|
|
43
|
+
- name: Build release artifacts
|
|
44
|
+
run: npm run build && npm run release:archive
|
|
45
45
|
|
|
46
46
|
- name: Verify release artifacts
|
|
47
47
|
run: |
|
|
@@ -3,6 +3,8 @@ name: Release
|
|
|
3
3
|
on:
|
|
4
4
|
workflow_call:
|
|
5
5
|
secrets:
|
|
6
|
+
GIT_COMMITTER_TOKEN:
|
|
7
|
+
required: true
|
|
6
8
|
NPM_TOKEN:
|
|
7
9
|
required: false
|
|
8
10
|
|
|
@@ -19,7 +21,7 @@ jobs:
|
|
|
19
21
|
uses: actions/checkout@v4
|
|
20
22
|
with:
|
|
21
23
|
fetch-depth: 0
|
|
22
|
-
|
|
24
|
+
token: ${{ secrets.GIT_COMMITTER_TOKEN }}
|
|
23
25
|
|
|
24
26
|
- name: Setup Node.js
|
|
25
27
|
uses: actions/setup-node@v4
|
|
@@ -37,7 +39,7 @@ jobs:
|
|
|
37
39
|
run: node --version
|
|
38
40
|
|
|
39
41
|
- name: Install dependencies
|
|
40
|
-
run: npm ci
|
|
42
|
+
run: npm ci
|
|
41
43
|
|
|
42
44
|
- name: Install rsync
|
|
43
45
|
run: sudo apt-get update && sudo apt-get install -y rsync
|