feat: track the ordelle coin separately #100
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: | |
pull_request_target: | |
branches: | |
- main | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v4 | |
- name: pnpm-setup | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: "Setup Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: "pnpm" | |
- name: "Install" | |
run: pnpm install | |
- name: "Format Check" | |
run: pnpm run format | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v4 | |
- name: pnpm-setup | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: "Setup Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: "pnpm" | |
- name: "Install" | |
run: pnpm install | |
- name: "Lint Check" | |
run: pnpm run lint | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v4 | |
- name: pnpm-setup | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: "Setup Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: "pnpm" | |
- name: "Install" | |
run: pnpm install | |
- name: "Test" | |
run: pnpm test |