@codfish/actions-playground 0.0.0-PR-98--48ab075 → 0.0.0-PR-98--7a8d751

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.
@@ -3,6 +3,7 @@ name: Validate Code
3
3
  on: pull_request
4
4
 
5
5
  permissions:
6
+ contents: read
6
7
  id-token: write
7
8
  pull-requests: write
8
9
 
@@ -27,21 +28,16 @@ jobs:
27
28
  git branch -a
28
29
  echo "$GITHUB_CONTEXT"
29
30
 
30
- - name: 'Install pnpm'
31
- id: pnpm-setup
32
- uses: pnpm/action-setup@v4
33
- with:
34
- run_install: false
31
+ - uses: codfish/actions/setup-node-and-install@npm-trusted-publishing
32
+ id: node-setup
35
33
 
36
34
  - name: Dump pnpm outputs
37
35
  env:
38
- PNPM_CONTEXT: ${{ toJson(steps.pnpm-setup.outputs) }}
36
+ NODE_CONTEXT: ${{ toJson(steps.node-setup.outputs) }}
39
37
  run: |
40
- echo "$PNPM_CONTEXT"
38
+ echo "$NODE_CONTEXT"
41
39
  echo "PNPM_HOME: $PNPM_HOME"
42
40
 
43
- - uses: codfish/actions/setup-node-and-install@npm-trusted-publishing
44
-
45
41
  - name: semantic release dry run
46
42
  uses: docker://ghcr.io/codfish/semantic-release-action@sha256:327a3ce08284f9dd9b83b607e3f668dae90139e68ce90780b0a43a09d577dc3a
47
43
  with:
@@ -112,13 +108,13 @@ jobs:
112
108
  - name: run tests
113
109
  run: pnpm test
114
110
 
111
+ - name: Build package
112
+ run: pnpm build
113
+
115
114
  - uses: codfish/actions/npm-publish-pr@npm-trusted-publishing
116
115
  with:
117
116
  github-token: ${{ secrets.GITHUB_TOKEN }}
118
- npm-token: ${{ secrets.NPM_TOKEN }}
119
-
120
- - name: Build package
121
- run: pnpm build
117
+ # npm-token: ${{ secrets.NPM_TOKEN }}
122
118
 
123
119
  - name: Calculate build size
124
120
  run: |
File without changes
package/package.json CHANGED
@@ -1,11 +1,23 @@
1
1
  {
2
2
  "name": "@codfish/actions-playground",
3
- "version": "0.0.0-PR-98--48ab075",
3
+ "version": "0.0.0-PR-98--7a8d751",
4
4
  "description": "My own testing ground for messing around with GitHub Actions.",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
+ "scripts": {
10
+ "start": "PUBLIC_URL=/ react-scripts start",
11
+ "build": "react-scripts build",
12
+ "build:docs": "jsdoc src -d docs",
13
+ "eject": "react-scripts eject",
14
+ "format": "cod-scripts format",
15
+ "lint": "cod-scripts lint",
16
+ "lint:md": "markdownlint -i node_modules -i dist .",
17
+ "lint:commit": "cod-scripts commitlint",
18
+ "test": "echo \"No tests yet.\"",
19
+ "validate": "cod-scripts validate"
20
+ },
9
21
  "repository": {
10
22
  "type": "git",
11
23
  "url": "git+https://github.com/codfish/actions-playground.git"
@@ -13,6 +25,7 @@
13
25
  "keywords": [
14
26
  "foobar"
15
27
  ],
28
+ "packageManager": "pnpm@10.17.1",
16
29
  "author": "",
17
30
  "license": "MIT",
18
31
  "bugs": {
@@ -83,17 +96,5 @@
83
96
  "volta": {
84
97
  "node": "22.18.0",
85
98
  "yarn": "4.10.3"
86
- },
87
- "scripts": {
88
- "start": "PUBLIC_URL=/ react-scripts start",
89
- "build": "react-scripts build",
90
- "build:docs": "jsdoc src -d docs",
91
- "eject": "react-scripts eject",
92
- "format": "cod-scripts format",
93
- "lint": "cod-scripts lint",
94
- "lint:md": "markdownlint -i node_modules -i dist .",
95
- "lint:commit": "cod-scripts commitlint",
96
- "test": "echo \"No tests yet.\"",
97
- "validate": "cod-scripts validate"
98
99
  }
99
- }
100
+ }