fix: express csurf #319
Workflow file for this run
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: Github Actions | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: read # For checkout | |
| actions: read # For accessing action outputs | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| if: | | |
| (!contains(github.event.pull_request.title, '[skip test]') && | |
| github.event.pull_request.head.repo.full_name == github.repository) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.x" | |
| - name: Install node dependancies | |
| run: npm ci | |
| - name: Check Snyk | |
| continue-on-error: true | |
| uses: snyk/actions/node@master | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
| - name: Check Prettier | |
| run: npx prettier --check . | |
| - name: Lint | |
| run: npm run lint | |
| - name: Integration test | |
| run: npm run test:ci | |
| env: | |
| INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} | |
| STABILITY_TESTNET_API_KEY: ${{ secrets.STABILITY_TESTNET_API_KEY }} | |
| STABILITY_API_KEY: ${{ secrets.STABILITY_API_KEY }} |