@wistia/eslint-config 2.5.2 → 2.7.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.
@@ -14,17 +14,17 @@ runs:
14
14
  using: 'composite'
15
15
  steps:
16
16
  - name: Parse .tool-versions
17
- uses: wistia/parse-tool-versions@v2.1.1
17
+ uses: wistia/parse-tool-versions@32f568a4ffd4bfa7720ebf93f171597d1ebc979a # v2.1.1
18
18
  with:
19
19
  prefix: 'TOOL_VERSION_'
20
20
 
21
21
  - name: Set up NodeJS environment
22
- uses: actions/setup-node@v6
22
+ uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
23
23
  with:
24
24
  node-version: ${{ env.TOOL_VERSION_NODEJS }}
25
25
 
26
26
  - name: Cache node_modules
27
- uses: actions/cache@v5
27
+ uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
28
28
  id: node-modules-cache
29
29
  with:
30
30
  path: |
@@ -10,9 +10,7 @@ concurrency:
10
10
  cancel-in-progress: true
11
11
 
12
12
  permissions:
13
- checks: write
14
13
  contents: read
15
- pull-requests: read
16
14
 
17
15
  jobs:
18
16
  commitlint:
@@ -20,14 +18,14 @@ jobs:
20
18
  timeout-minutes: 5
21
19
  steps:
22
20
  - name: Check out Git repository
23
- uses: actions/checkout@v6
21
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24
22
  with:
25
23
  # by default this only fetches the latest commit,
26
24
  # but more commits are needed to validate a range of commit messages
27
25
  fetch-depth: 0
28
26
 
27
+ - name: Set up Node.js environment
28
+ uses: ./.github/actions/setup-node-env
29
+
29
30
  - name: Validate commit messages
30
- uses: wagoid/commitlint-github-action@v6
31
- with:
32
- configFile: .commitlintrc.mjs
33
- helpURL: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
31
+ run: yarn commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }}
@@ -20,7 +20,7 @@ jobs:
20
20
  timeout-minutes: 5
21
21
  steps:
22
22
  - name: Check out Git repository
23
- uses: actions/checkout@v6
23
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24
24
  with:
25
25
  ref: ${{ github.event.pull_request.head.sha || github.ref }}
26
26
 
@@ -21,7 +21,7 @@ jobs:
21
21
  timeout-minutes: 5
22
22
  steps:
23
23
  - name: Check out Git repository
24
- uses: actions/checkout@v6
24
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25
25
  with:
26
26
  ref: ${{ github.event.inputs.commit_hash || github.event.pull_request.head.sha || github.sha }}
27
27
 
@@ -29,7 +29,7 @@ jobs:
29
29
  uses: ./.github/actions/setup-node-env
30
30
 
31
31
  - name: Publish branch package to npm
32
- uses: wistia/publish-branch-to-npm@v2.3.6
32
+ uses: wistia/publish-branch-to-npm@b0e3b0aa93e1b6ab1a305d0f61653e78cecbc87a # v2.3.6
33
33
  with:
34
34
  github_token: ${{ secrets.GITHUB_TOKEN }}
35
35
  npm_token: ${{ secrets.NPM_AUTH_TOKEN }}
@@ -22,7 +22,7 @@ jobs:
22
22
  timeout-minutes: 5
23
23
  steps:
24
24
  - name: Check out Git repository
25
- uses: actions/checkout@v6
25
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26
26
  with:
27
27
  # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
28
28
  fetch-depth: 0
@@ -38,7 +38,7 @@ jobs:
38
38
  echo "NEW_PACKAGE_VERSION=$(yarn changeset status --output=release.json && jq -r '.releases[0].newVersion' release.json && rm release.json)" >> "$GITHUB_ENV"
39
39
 
40
40
  - name: Create Release Pull Request or Publish to npm
41
- uses: changesets/action@v1
41
+ uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
42
42
  id: changesets
43
43
  with:
44
44
  createGithubReleases: true
@@ -20,7 +20,7 @@ jobs:
20
20
  timeout-minutes: 5
21
21
  steps:
22
22
  - name: Check out Git repository
23
- uses: actions/checkout@v6
23
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24
24
  with:
25
25
  ref: ${{ github.event.pull_request.head.sha || github.ref }}
26
26