Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekz committed Dec 29, 2024
1 parent fa28768 commit 60c623e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x, 22.x]
node-version: [20.x, 22.x, 23.x]

runs-on: ${{ matrix.os }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Cache ~/.pnpm-store
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-pnpm-store
with:
Expand All @@ -53,12 +53,12 @@ jobs:
needs: ["test"]
if: "!contains(github.event.head_commit.message, 'skip-release') && !contains(github.event.head_commit.message, 'skip-ci') && github.event_name != 'pull_request'"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
- name: Cache ~/.pnpm-store
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-pnpm-store
with:
Expand All @@ -70,7 +70,7 @@ jobs:
${{ runner.os }}-
- run: npm i -g pnpm
- run: pnpm i
- run: pnpm dlx semantic-release@20 --branches main
- run: pnpm dlx semantic-release@24 --branches main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 60c623e

Please sign in to comment.