Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sakitam-fdd committed Aug 7, 2024
1 parent c2624c5 commit b30e70d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 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, windows-latest]
node-version: [14.x, 16.x]
node-version: [18.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@v2
- uses: actions/checkout@v4

- uses: actions/setup-node@v2
- 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 @@ -38,7 +38,7 @@ jobs:
${{ runner.os }}-${{ matrix.node-version }}-test-
${{ runner.os }}-
- name: Install pnpm
run: npm i -g pnpm
run: npm i -g pnpm@8.6.11

- name: Install deps
run: pnpm i
Expand Down Expand Up @@ -68,12 +68,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@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 18.x
- name: Cache ~/.pnpm-store
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-pnpm-store
with:
Expand All @@ -83,7 +83,7 @@ jobs:
${{ runner.os }}-${{ matrix.node-version }}-release-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.node-version }}-release-
${{ runner.os }}-
- run: npm i -g pnpm
- run: npm i -g pnpm@8.6.11
- run: pnpm i
- run: pnpm semantic-release
env:
Expand Down

0 comments on commit b30e70d

Please sign in to comment.