2906Create npm-grunt.yml #101
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
# Simple workflow for testing | |
name: Run tests | |
on: | |
# Runs on pushes and PRs targeting the default branch | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Node.js | |
uses: actions/setup-node@v3 | |
- run: npm install | |
- run: npm run test |