Vigneshka/legacy mint fees #1375
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
MNEMONIC: ${{ secrets.MNEMONIC }} | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: 7.19.0 | |
- name: Setup Node v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '^18.7.0' | |
cache: 'pnpm' | |
- name: Setup NPM credentials | |
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile | |
- name: Codegen | |
run: pnpm codegen | |
- name: Build | |
run: pnpm build | |
- name: Type Check | |
run: pnpm tsc | |
- name: Run tests | |
run: pnpm test |