Skip to content

Commit

Permalink
Yse regular yarn install and explicitly run yarn postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
paales committed Nov 17, 2023
1 parent 585c707 commit 4f16c9c
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 127 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/merge-main-to-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Git config
run: |
git config --local user.email "[email protected]"
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,18 @@ jobs:
published: ${{ steps.changesets.outputs.published }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: canary
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@graphcommerce'
- uses: bahmutov/npm-install@v1
with:
useRollingCache: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: yarn install && yarn postinstall
run: yarn install && yarn postinstall
- name: set pre canary
run: 'yarn changeset pre enter canary'
continue-on-error: true
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@ jobs:
published: ${{ steps.changesets.outputs.published }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@graphcommerce'
- uses: bahmutov/npm-install@v1
with:
useRollingCache: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: yarn install && yarn postinstall
run: yarn install && yarn postinstall
- name: set version variables
id: vars
shell: bash
Expand Down
Loading

0 comments on commit 4f16c9c

Please sign in to comment.