mirror of https://github.com/artf/grapesjs.git
3 changed files with 27 additions and 5 deletions
@ -0,0 +1,26 @@ |
|||
name: Tests |
|||
|
|||
on: |
|||
push: |
|||
branches: [ dev ] |
|||
pull_request: |
|||
branches: [ dev ] |
|||
|
|||
jobs: |
|||
build: |
|||
runs-on: ubuntu-latest |
|||
|
|||
strategy: |
|||
matrix: |
|||
node-version: [12.x, 14.x, 16.x] |
|||
|
|||
steps: |
|||
- uses: actions/checkout@v3 |
|||
- name: Use Node.js ${{ matrix.node-version }} |
|||
uses: actions/setup-node@v3 |
|||
with: |
|||
node-version: ${{ matrix.node-version }} |
|||
cache: 'npm' |
|||
- run: npm ci |
|||
- run: npm run lint |
|||
- run: npm test |
|||
@ -1,4 +0,0 @@ |
|||
language: node_js |
|||
node_js: |
|||
- "8" |
|||
- "10" |
|||
Loading…
Reference in new issue