Merge pull request #56 from nimiq/stefan/mint-pool-mainnet #369
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Set .env file | |
run: echo "NUXT_PUBLIC_NIMIQ_NETWORK=test-albatross" > .env | |
- name: Install | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm run lint | |
package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Set .env file | |
run: echo "NUXT_PUBLIC_NIMIQ_NETWORK=test-albatross" > .env | |
- name: Install | |
run: pnpm install --frozen-lockfile | |
working-directory: packages/nimiq-validators-trustscore | |
- name: Lint | |
run: pnpm run lint | |
working-directory: packages/nimiq-validators-trustscore | |
- name: Typecheck | |
run: pnpm run typecheck | |
working-directory: packages/nimiq-validators-trustscore | |
- name: Test | |
run: pnpm run test | |
working-directory: packages/nimiq-validators-trustscore |