@wistia/eslint-config 2.6.0 → 2.8.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.
- package/.github/workflows/release.yml +12 -1
- package/.yarn/releases/{yarn-4.13.0.cjs → yarn-4.14.1.cjs} +288 -288
- package/.yarnrc.yml +7 -2
- package/CHANGELOG.md +12 -0
- package/package.json +15 -19
- package/src/rules/react.mjs +12 -29
- package/test/__snapshots__/javascript.mjs.snap +1 -1
- package/test/__snapshots__/react.mjs.snap +10 -22
- package/test/__snapshots__/typescript.mjs.snap +2 -2
- package/test/__snapshots__/vitest.mjs.snap +1 -1
- package/src/configs/react-ssr-compatibility.mjs +0 -18
- package/src/rules/react-ssr-compatibility.mjs +0 -35
|
@@ -21,11 +21,22 @@ jobs:
|
|
|
21
21
|
runs-on: ubuntu-22.04
|
|
22
22
|
timeout-minutes: 5
|
|
23
23
|
steps:
|
|
24
|
+
- name: Generate GitHub App token
|
|
25
|
+
id: app-token
|
|
26
|
+
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
|
|
27
|
+
with:
|
|
28
|
+
client-id: ${{ secrets.ACTIONS_BOT_GH_APP_CLIENT_ID }}
|
|
29
|
+
private-key: ${{ secrets.ACTIONS_BOT_GH_APP_PRIVATE_KEY }}
|
|
30
|
+
owner: ${{ github.repository_owner }}
|
|
31
|
+
repositories: eslint-config
|
|
32
|
+
|
|
24
33
|
- name: Check out Git repository
|
|
25
34
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
26
35
|
with:
|
|
36
|
+
persist-credentials: false
|
|
27
37
|
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
|
|
28
38
|
fetch-depth: 0
|
|
39
|
+
token: ${{ steps.app-token.outputs.token }}
|
|
29
40
|
|
|
30
41
|
- name: Install Node and npm packages
|
|
31
42
|
uses: ./.github/actions/setup-node-env
|
|
@@ -46,5 +57,5 @@ jobs:
|
|
|
46
57
|
title: "chore: release v${{env.NEW_PACKAGE_VERSION}}"
|
|
47
58
|
commit: "chore: release v${{env.NEW_PACKAGE_VERSION}}"
|
|
48
59
|
env:
|
|
49
|
-
GITHUB_TOKEN: ${{
|
|
60
|
+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
50
61
|
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|