Merge pull request #856 from nizhf/master #1358
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: npm | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize] | |
env: | |
node-version: 6.x | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ env.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.node-version }} | |
- name: Run npm test | |
timeout-minutes: 10 | |
run: | | |
npm install -g [email protected] | |
npm install | |
npm test |