eslint-plugin-primer-react 0.0.0-20251120175333 → 0.0.0-20251124040715
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 +10 -2
- package/CHANGELOG.md +1 -1
- package/package.json +2 -2
|
@@ -26,6 +26,12 @@ jobs:
|
|
|
26
26
|
fetch-depth: 0
|
|
27
27
|
persist-credentials: false
|
|
28
28
|
|
|
29
|
+
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42
|
|
30
|
+
id: app-token
|
|
31
|
+
with:
|
|
32
|
+
app-id: ${{ vars.PRIMER_APP_ID_SHARED }}
|
|
33
|
+
private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }}
|
|
34
|
+
|
|
29
35
|
- name: Set up Node.js
|
|
30
36
|
uses: actions/setup-node@v6
|
|
31
37
|
with:
|
|
@@ -36,11 +42,13 @@ jobs:
|
|
|
36
42
|
|
|
37
43
|
- name: Create release pull request or publish to npm
|
|
38
44
|
id: changesets
|
|
39
|
-
uses: changesets/action@
|
|
45
|
+
uses: changesets/action@v1
|
|
40
46
|
with:
|
|
41
47
|
title: Release Tracking
|
|
42
48
|
# This expects you to have a script called release which does a build for your packages and calls changeset publish
|
|
43
49
|
publish: npm run release
|
|
50
|
+
env:
|
|
51
|
+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
44
52
|
|
|
45
53
|
release-canary:
|
|
46
54
|
name: Canary
|
|
@@ -118,7 +126,7 @@ jobs:
|
|
|
118
126
|
run: |
|
|
119
127
|
version=$(jq -r .version package.json)
|
|
120
128
|
echo "$( jq ".version = \"$(echo $version)-rc.$(git rev-parse --short HEAD)\"" package.json )" > package.json
|
|
121
|
-
|
|
129
|
+
npm publish --tag next
|
|
122
130
|
env:
|
|
123
131
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
124
132
|
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-primer-react",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20251124040715",
|
|
4
4
|
"description": "ESLint rules for Primer React",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"eslint-plugin-prettier": "^5.5.4",
|
|
57
57
|
"globals": "^16.3.0",
|
|
58
58
|
"jest": "^30.0.5",
|
|
59
|
-
"markdownlint-cli2": "^0.
|
|
59
|
+
"markdownlint-cli2": "^0.19.1",
|
|
60
60
|
"markdownlint-cli2-formatter-pretty": "^0.0.9"
|
|
61
61
|
},
|
|
62
62
|
"prettier": "@github/prettier-config"
|