Skip to content

Commit

Permalink
ci: add yarn production option
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshoku committed Jan 28, 2024
1 parent 9641c58 commit 65fa390
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Install
run: yarn install
run: yarn install --production
- name: Build and test
run: yarn node-gyp rebuild && yarn jest
build-win:
Expand All @@ -31,7 +31,7 @@ jobs:
with:
node-version: lts/*
- name: Install
run: yarn install
run: yarn install --production
- name: Build and test
run: yarn node-gyp rebuild && yarn jest
build-mac:
Expand All @@ -43,6 +43,6 @@ jobs:
with:
node-version: lts/*
- name: Install
run: yarn install
run: yarn install --production
- name: Build and test
run: yarn node-gyp rebuild && yarn jest
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Install
run: yarn install
run: yarn install --production
- name: Build and test
run: yarn node-gyp rebuild && yarn jest
build-deps-dev:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
with:
node-version: lts/*
- name: Install
run: yarn install
run: yarn install --production
- name: Build and test
run: yarn node-gyp rebuild && yarn jest
build-mac:
Expand All @@ -76,6 +76,6 @@ jobs:
with:
node-version: lts/*
- name: Install
run: yarn install
run: yarn install --production
- name: Build and test
run: yarn node-gyp rebuild && yarn jest

0 comments on commit 65fa390

Please sign in to comment.