Merge pull request #433 from zama-ai/fix/compile

ci: force install of optional packages
This commit is contained in:
Clément Danjou
2024-07-05 19:27:40 +02:00
committed by GitHub
6 changed files with 10 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: cp .env.example .env
- run: npm ci
- run: npm ci --include=optional
- name: "npm CI test"
run: |
# sometimes not created and is not tailed

View File

@@ -8,14 +8,14 @@ jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: 'write'
id-token: "write"
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20.x
- run: cp .env.example .env
- run: npm ci
- run: npm ci --include=optional
- run: npm run compile
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
with:

View File

@@ -8,14 +8,14 @@ jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: 'write'
id-token: "write"
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20.x
- run: cp .env.example .env
- run: npm ci
- run: npm ci --include=optional
- run: npm run compile
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
with:

View File

@@ -19,7 +19,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: cp .env.example .env
- run: npm ci
- run: npm ci --include=optional
- run: npm run prettier:check
- name: "npm CI test"
run: |

View File

@@ -19,7 +19,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: cp .env.example .env
- run: npm ci
- run: npm ci --include=optional
- name: "npm CI test"
run: |
# sometimes not created and is not tailed

View File

@@ -81,6 +81,8 @@
"hardhat": "^2.22.5",
"hardhat-deploy": "^0.11.29",
"hardhat-gas-reporter": "^1.0.2",
"hardhat-ignore-warnings": "^0.2.11",
"hardhat-preprocessor": "^0.1.5",
"lodash": "^4.17.21",
"mocha": "^10.1.0",
"prettier": "^3.0.0",
@@ -93,8 +95,6 @@
"typescript": "^5.1.6"
},
"dependencies": {
"@openzeppelin/contracts": "^5.0.1",
"hardhat-ignore-warnings": "^0.2.11",
"hardhat-preprocessor": "^0.1.5"
"@openzeppelin/contracts": "^5.0.1"
}
}