Skip to content

Merge pull request #82 from nimiq/dev #427

Merge pull request #82 from nimiq/dev

Merge pull request #82 from nimiq/dev #427

Workflow file for this run

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