manually install jest #4
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: Development | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
push: | |
workflow_call: | |
jobs: | |
test: | |
name: Test application | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
- name: "Setup node" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: "Install jest env jsdom" | |
run: npm install -D jest-environment-jsdom | |
- name: "Run tests" | |
run: npm test |