@ideasonpurpose/build-tools-wordpress 2.0.3 → 2.0.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.
@@ -8,15 +8,17 @@ jobs:
8
8
  publish:
9
9
  name: Build and publish to npm
10
10
  # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
11
- runs-on: ubuntu-22.04
11
+ runs-on: ubuntu-24.04
12
12
  steps:
13
13
  # https://github.com/marketplace/actions/checkout
14
14
  - uses: actions/checkout@v4
15
+
15
16
  # https://github.com/actions/setup-node
16
17
  - uses: actions/setup-node@v4
17
18
  with:
18
- node-version: 20
19
+ node-version: 22
19
20
  registry-url: https://registry.npmjs.org/
21
+
20
22
  # - run: npm ci
21
23
  - run: npm publish
22
24
  env:
@@ -8,25 +8,19 @@ jobs:
8
8
  build:
9
9
  name: Build Release
10
10
  # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
11
- runs-on: ubuntu-22.04
11
+ runs-on: ubuntu-24.04
12
12
 
13
13
  steps:
14
14
  # https://github.com/marketplace/actions/checkout
15
15
  - uses: actions/checkout@v4
16
16
 
17
- - name: Set up REPO and TAG environment vars
17
+ - name: Set TAG environment variable
18
18
  run: |
19
- echo "REPO=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
20
- echo "TAG=${GITHUB_SHA:0:6}" >> $GITHUB_ENV
21
-
22
- - name: This run was triggered by a version tag, reset the $TAG variable to the tag name
23
- if: startsWith(github.ref, 'refs/tags/v')
24
- run: |
25
- echo "TAG=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
19
+ echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
26
20
 
27
21
  - name: Create GitHub release
28
- if: ${{ contains(github.ref, 'refs/tags/') }}
29
22
  env:
30
23
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
24
  run: |
32
- gh release create v${TAG}
25
+ echo "Creating release for tag: ${TAG}"
26
+ gh release create "${TAG}" --generate-notes
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### v2.0.3
8
+
9
+ > 19 March 2025
10
+
11
+ - bump deps
12
+ - update example files
13
+ - update devserver-proxy tests
14
+
7
15
  #### v2.0.2
8
16
 
9
17
  > 13 January 2025
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @ideasonpurpose/build-tools-wordpress
2
2
 
3
- #### Version 2.0.3
3
+ #### Version 2.0.4
4
4
 
5
5
  [![NPM Version](https://img.shields.io/npm/v/%40ideasonpurpose%2Fbuild-tools-wordpress?logo=npm)](https://www.npmjs.com/package/@ideasonpurpose/build-tools-wordpress)
6
6
  [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ideasonpurpose/build-tools-wordpress/npm-publish.yml?logo=github&logoColor=white)](https://github.com/ideasonpurpose/build-tools-wordpress#readme)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ideasonpurpose/build-tools-wordpress",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Build scripts and dependencies for IOP's WordPress development environments.",
5
5
  "homepage": "https://github.com/ideasonpurpose/build-tools-wordpress#readme",
6
6
  "bugs": {