Merge pull request #1521 from lucasnetau/fix/1520 #130
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@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
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 |