Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marsidev committed Aug 15, 2024
2 parents 2387cd1 + bb2b6e2 commit ecb3547
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
cache: pnpm
node-version: "20"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/accessibility-alt-text-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: github/accessibility-alt-text-bot@v1.4.0
- uses: github/accessibility-alt-text-bot@602a5efcf386c52ef8b9a11ead9bfa6ef8d56ba5 # v1.4.0

name: Accessibility Alt Text Bot

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,44 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: ./.github/actions/prepare
- run: pnpm build
- run: node ./lib/index.js
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: ./.github/actions/prepare
- run: pnpm lint
lint_knip:
name: Lint Knip
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: ./.github/actions/prepare
- run: pnpm lint:knip
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: ./.github/actions/prepare
- run: pnpm format --list-different
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: ./.github/actions/prepare
- run: pnpm run test --coverage
- uses: codecov/codecov-action@v3
type_check:
name: Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: ./.github/actions/prepare
- run: pnpm tsc

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ jobs:
contributors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- uses: ./.github/actions/prepare
- env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
uses: JoshuaKGoldberg/all-contributors-auto-action@v0.4.3
uses: JoshuaKGoldberg/all-contributors-auto-action@da2f2aa14f945bd45c882b83356f24e6dce91629 # v0.4.3

name: Contributors

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ jobs:
post_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- run: echo "npm_version=$(npm pkg get version | tr -d '"')" >> "$GITHUB_ENV"
- uses: apexskier/github-release-commenter@v1
- uses: apexskier/github-release-commenter@3bd413ad5e1d603bfe2282f9f06f2bdcec079327 # v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
comment-template: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-review-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jobs:
pr_review_requested:
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-remove-labels@v1
- uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1
with:
labels: "status: waiting for author"
- if: failure()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
ref: main
Expand All @@ -14,7 +14,7 @@ jobs:
- env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
uses: JoshuaKGoldberg/release-it-action@v0.2.2
uses: JoshuaKGoldberg/release-it-action@77373cfc2535e21149518381cb09e1c04c6068fe # v0.2.2

name: Release

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.12.2
20.16.0
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@
"*": "prettier --ignore-unknown --write"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@release-it/conventional-changelog": "^8.0.1",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.3.0",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/eslint-plugin": "^1.0.3",
"console-fail-test": "^0.5.0",
"eslint": "^9.9.0",
"eslint-plugin-n": "^17.10.2",
"husky": "^9.1.4",
"knip": "^5.27.2",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"prettier-plugin-curly": "^0.2.2",
"prettier-plugin-packagejson": "^2.5.1",
"prettier-plugin-sh": "^0.14.0",
"release-it": "^17.6.0",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0",
"vitest": "^2.0.5"
"@eslint/js": "9.9.0",
"@release-it/conventional-changelog": "8.0.1",
"@types/eslint__js": "8.42.3",
"@types/node": "22.3.0",
"@vitest/coverage-v8": "2.0.5",
"@vitest/eslint-plugin": "1.0.3",
"console-fail-test": "0.5.0",
"eslint": "9.9.0",
"eslint-plugin-n": "17.10.2",
"husky": "9.1.4",
"knip": "5.27.2",
"lint-staged": "15.2.9",
"prettier": "3.3.3",
"prettier-plugin-curly": "0.2.2",
"prettier-plugin-packagejson": "2.5.1",
"prettier-plugin-sh": "0.14.0",
"release-it": "17.6.0",
"tsup": "8.2.4",
"typescript": "5.5.4",
"typescript-eslint": "8.1.0",
"vitest": "2.0.5"
},
"engines": {
"node": ">=18.3.0"
Expand Down
42 changes: 21 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecb3547

Please sign in to comment.