mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Merge pull request #245 from AikidoSec/fix-release-build
Fix build: install packages before setting the version
This commit is contained in:
commit
51bcdaca47
1 changed files with 5 additions and 5 deletions
10
.github/workflows/create-artifact.yml
vendored
10
.github/workflows/create-artifact.yml
vendored
|
|
@ -5,7 +5,7 @@ on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Version to set in package.json'
|
description: "Version to set in package.json"
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
|
@ -64,13 +64,13 @@ jobs:
|
||||||
npm i -g @aikidosec/safe-chain
|
npm i -g @aikidosec/safe-chain
|
||||||
safe-chain setup-ci
|
safe-chain setup-ci
|
||||||
|
|
||||||
- name: Set the version in safe-chain package
|
|
||||||
if: inputs.version != ''
|
|
||||||
run: npm --no-git-tag-version version ${{ inputs.version }} --workspace=packages/safe-chain
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --ignore-scripts
|
run: npm ci --ignore-scripts
|
||||||
|
|
||||||
|
- name: Set the version in safe-chain package
|
||||||
|
if: inputs.version != ''
|
||||||
|
run: npm --no-git-tag-version version ${{ inputs.version }} --workspace=packages/safe-chain --ignore-scripts
|
||||||
|
|
||||||
- name: Create binary
|
- name: Create binary
|
||||||
run: |
|
run: |
|
||||||
node build.js ${{ matrix.target }}
|
node build.js ${{ matrix.target }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue