Skip to content

Commit

Permalink
Install dependencies before version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebobby committed Jul 8, 2024
1 parent 03c0d59 commit 2671e0d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,19 @@ jobs:
registry-url: 'https://registry.npmjs.org'
scope: '@customerio'

- name: Install Dependencies
run: |
cd packages/${{ matrix.package }}
yarn install --frozen-lockfile
- name: Bump Version
run: |
cd packages/${{ matrix.package }}
npm version ${{ github.event.inputs.version }}
- name: Install & Build
- name: Build Package
run: |
cd packages/${{ matrix.package }}
yarn install --frozen-lockfile
yarn build
- name: Publish
Expand Down Expand Up @@ -74,15 +78,19 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
scope: '@customerio'

- name: Install Dependencies
run: |
cd packages/${{ matrix.package }}
yarn install --frozen-lockfile
- name: Bump Version
run: |
cd packages/${{ matrix.package }}
npm version ${{ github.event.inputs.version }}
- name: Install & Build
- name: Build Package
run: |
cd packages/${{ matrix.package }}
yarn install --frozen-lockfile
yarn build
- name: Publish
Expand Down

0 comments on commit 2671e0d

Please sign in to comment.