Skip to content

Commit

Permalink
Merge pull request #1001 from dsk52/feature/convert-to-pnpm
Browse files Browse the repository at this point in the history
pnpmに移行
  • Loading branch information
dsk52 authored Dec 1, 2024
2 parents 7b1b6de + 9d7fe9e commit 3880741
Show file tree
Hide file tree
Showing 6 changed files with 6,308 additions and 16,275 deletions.
17 changes: 0 additions & 17 deletions .github/actions/cache-node-modules/action.yml

This file was deleted.

49 changes: 27 additions & 22 deletions .github/workflows/develop-integlation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,26 @@ env:
MICROCMS_SERVICE_DOMAIN: ${{ secrets.MICROCMS_SERVICE_DOMAIN }}

jobs:
setup:
runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4

- name: cache node_modules
uses: ./.github/actions/cache-node-modules

lint_n_test:
needs: [setup]
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js
uses: actions/setup-node@v4
with:
# node-version: ${{ matrix.node-version }}
node-version-file: "package.json"
cache: "pnpm"

- name: cache node_modules
uses: ./.github/actions/cache-node-modules
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Lint
run: npm run lint
Expand All @@ -44,16 +39,26 @@ jobs:
run: npm run test

type-check:
needs: [setup]
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4

- name: cache node_modules
uses: ./.github/actions/cache-node-modules
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js
uses: actions/setup-node@v4
with:
# node-version: ${{ matrix.node-version }}
node-version-file: "package.json"
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: type-check
run: npm run type-check
Loading

0 comments on commit 3880741

Please sign in to comment.