This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
fix(mIO): modify all writes to accept ONLY mIO and update tools to use SDK #1141
Workflow file for this run
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: Build and Test | |
on: [pull_request, workflow_dispatch, workflow_call] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: develop | |
permissions: | |
actions: write | |
id-token: write | |
contents: read | |
checks: write | |
packages: write | |
pull-requests: write | |
strategy: | |
matrix: | |
step: | |
[ | |
'format:check', | |
'lint:check', | |
'build', | |
'test:unit', | |
'test:integration', | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn ${{ matrix.step }} | |
env: | |
ARNS_CONTRACT_TX_ID: ${{ vars.ARNS_CONTRACT_TX_ID }} | |
- name: Upload to Codecov | |
if: matrix.step == 'test:unit' | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |