Merge pull request #352 from formidablejs/patch/github-action-node-tests #1045
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: Core Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Start Redis | |
uses: supercharge/redis-github-action@1.4.0 | |
- name: Install modules | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Run tests | |
run: npm test |