Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
node-version: [22.x]
node-version: [24.x]

steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
Expand All @@ -19,10 +19,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
run: npm ci
- name: Run lint
run: yarn run lint:eslint
run: npm run lint:eslint
- name: Run build
run: yarn run build
run: npm run build
- name: Run test
run: yarn run test
run: npm run test
5 changes: 1 addition & 4 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,11 @@ jobs:
run: |
git config --global user.email "${GIT_AUTHOR_EMAIL}"
git config --global user.name "${GIT_AUTHOR_NAME}"
yarn version --new-version "${SEMVER}" --no-git-tag-version
npm version "${SEMVER}" --no-git-tag-version
env:
SEMVER: ${{ github.event.inputs.semver }}
GIT_AUTHOR_NAME: ${{ github.actor }}
GIT_AUTHOR_EMAIL: ${{ github.actor }}@users.noreply.github.com
- name: Update yarn.lock
run: |
yarn install
- name: Set PACKAGE_VERSION
run: echo "PACKAGE_VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV
- name: Set GitHub Release Note
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
cache: yarn
cache: npm
node-version-file: .nvmrc
registry-url: 'https://registry.npmjs.org'
- name: Git Identity
Expand All @@ -90,16 +90,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set PACKAGE_VERSION
run: echo "PACKAGE_VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV
- name: Install npm 11.5.1+ for OIDC support
# npm 11.5.1+ is required for GitHub OIDC trusted publishing
# https://docs.npmjs.com/trusted-publishers
run: |
npm install -g npm@^11.5.1
echo "npm version: $(npm --version)"
- name: Install dependencies
run: yarn install
run: npm ci
- name: Run build
run: yarn run build
run: npm run build
- name: Publish
run: npm publish --tag latest --access public
env:
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
min-release-age=3
strict-allow-scripts=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.20.0
24.21.0
Loading
Loading