Merge pull request #1579 from lucasnetau/fix/1575-sync #179
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: Run Jest Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install dependencies | |
env: | |
CI: true | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Build the plugin | |
run: npm run build:all | |
- name: Run Jest | |
run: npm run test |