Bump the dfinity-dependencies group across 1 directory with 6 updates #322
This file contains 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: CI | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
frontend-checks: | |
name: frontend checks | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Nostric | |
run: | | |
npm install | |
continue-on-error: false | |
- name: Prettier TypeScript check | |
run: | | |
npm run prettier | |
continue-on-error: false | |
- name: Prettier Svelte check | |
run: | | |
npm run prettier-svelte | |
continue-on-error: false | |
- name: ESLint TypeScript check | |
run: | | |
npm run lint | |
continue-on-error: false | |
- name: ESLint Svelte check | |
run: | | |
npm run lint-svelte | |
continue-on-error: false | |
backend-checks: | |
name: backend checks | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Nostric | |
run: | | |
npm install | |
continue-on-error: false | |
- name: Prettier check | |
run: | | |
npm run prettier-motoko | |
continue-on-error: false | |
- name: Install Mops | |
run: | | |
npm install -g ic-mops | |
continue-on-error: false | |
- uses: dfinity/setup-dfx@main | |
with: | |
dfx-version: auto | |
env: | |
DFX_IDENTITY_PEM: ${{ secrets.DFX_IDENTITY_PEM }} | |
- run: | | |
dfx start --clean --background | |
continue-on-error: false | |
- name: Unit tests | |
run: | | |
mops test | |
continue-on-error: false | |
integration-test: | |
name: integration test | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Nostric | |
run: | | |
npm install | |
continue-on-error: false | |
- name: Install Mops | |
run: | | |
npm install -g ic-mops | |
continue-on-error: false | |
- uses: dfinity/setup-dfx@main | |
with: | |
dfx-version: auto | |
env: | |
DFX_IDENTITY_PEM: ${{ secrets.DFX_IDENTITY_PEM }} | |
- run: | | |
dfx start --clean --background | |
continue-on-error: false | |
- name: Local deployment | |
run: | | |
bash deploy-local-ckbtc.sh | |
dfx deploy | |
continue-on-error: false |