Bump jest-environment-jsdom from 29.7.0 to 30.4.1 #114
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: test | |
| on: | |
| push: | |
| branches: | |
| - "+([0-9])?(.{+([0-9]),x}).x" | |
| - "master" | |
| - "next" | |
| - "next-major" | |
| - "beta" | |
| - "alpha" | |
| - "!all-contributors/**" | |
| pull_request: {} | |
| jobs: | |
| test: | |
| # ignore all-contributors PRs | |
| if: ${{ !contains(github.head_ref, 'all-contributors') }} | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🛑 Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.6.0 | |
| with: | |
| access_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v2 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 14 | |
| - name: 📥 Download deps | |
| uses: bahmutov/npm-install@v1 | |
| with: | |
| useLockFile: false | |
| - name: 🏗 Run build script | |
| run: npm run build | |
| - name: ▶️ Run test script | |
| run: npm run test |