chore: migrate vetkeys library and toolchain to @icp-sdk/* and icp-cli #723
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Frontend ic_vetkeys CI | |
| permissions: {} | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - frontend/ic_vetkeys/** | |
| - backend/**/canisters/** | |
| - package.json | |
| - package-lock.json | |
| - .github/workflows/frontend_ic_vetkeys.yml | |
| - .github/workflows/provision-frontend-darwin.sh | |
| - .github/workflows/provision-frontend-linux.sh | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| frontend_ic_vetkeys_linux: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: '22' | |
| - name: Provision Linux | |
| run: bash .github/workflows/provision-frontend-linux.sh | |
| - name: Frontend Tests and Lint | |
| env: | |
| ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| set -eExuo pipefail | |
| npm install | |
| cd frontend/ic_vetkeys | |
| npm run build | |
| npm run test | |
| npm run lint | |
| frontend_ic_vetkeys_mac: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: '22' | |
| - name: Provision Darwin | |
| run: | | |
| bash .github/workflows/provision-frontend-darwin.sh | |
| - name: Frontend Tests and Lint | |
| env: | |
| ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| set -eExuo pipefail | |
| npm install | |
| cd frontend/ic_vetkeys | |
| npm run build | |
| npm run test | |
| npm run lint |