optimize space filler, too #575
Workflow file for this run
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
# Run the npm tests on every push, which automatically tests every PR. | |
# | |
# If you want a feature to stay working, then make a test, and other coders will notice when it | |
# breaks. | |
# -- Sandify testing strategy. | |
# | |
# Guide for this action workflow: | |
# https://help.github.com/en/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: npm test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm run build --if-present | |
- run: npm test | |
- run: npm run lint-ci | |
env: | |
CI: true |