fix: release #172
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: Main workflow | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| eslint: | |
| permissions: | |
| contents: read | |
| security-events: write | |
| actions: read | |
| uses: ./.github/workflows/eslint.yml | |
| tsc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "yarn" | |
| - name: Install project dependencies | |
| run: yarn | |
| - name: Run TypeScript compiler | |
| run: yarn tsc | |
| test: | |
| needs: eslint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "yarn" | |
| - name: Install project dependencies | |
| run: yarn | |
| - name: Run tests with coverage | |
| run: yarn test --coverage | |
| env: | |
| TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }} | |
| docs: | |
| needs: test | |
| uses: ./.github/workflows/docs.yml |