chore(all): remove unused functions and packages (#61) #30
This file contains hidden or 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: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set alternate npm integrity keys | |
| run: | | |
| echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV | |
| - run: corepack enable | |
| - name: Install pnpm | |
| run: corepack prepare pnpm@10.6.5 --activate | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: "pnpm" | |
| - run: | | |
| touch .env | |
| echo GH_COMMIT_SHA="${{ github.event.pull_request.head.sha }}" >> .env | |
| - name: Install dependencies | |
| run: | | |
| pnpm install | |
| - name: Generate Polkadot API descriptors | |
| run: | | |
| pnpm papi | |
| - name: Build | |
| run: | | |
| pnpm build | |
| - name: Compile | |
| run: | | |
| pnpm compile | |
| - name: Format check | |
| run: | | |
| pnpm format:check | |
| - name: Lint check | |
| run: | | |
| pnpm lint:check | |
| - name: Test | |
| run: | | |
| pnpm test | |