mirror of
https://github.com/blueimp/jQuery-File-Upload.git
synced 2025-12-11 20:15:08 +01:00
Update GitHub test workflow.
This commit is contained in:
parent
3f685e03da
commit
049f6695e1
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@ -5,20 +5,16 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [14, 16]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12.x
|
||||
- name: npm install
|
||||
run: npm install
|
||||
env:
|
||||
CI: true
|
||||
- name: lint
|
||||
run: npm run lint
|
||||
env:
|
||||
CI: true
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
|
||||
mocha:
|
||||
runs-on: ubuntu-latest
|
||||
@ -55,7 +51,7 @@ jobs:
|
||||
run: docker-compose down -v
|
||||
- name: Upload reports
|
||||
if: always()
|
||||
uses: actions/upload-artifact@master
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: reports
|
||||
path: wdio/reports
|
||||
@ -78,7 +74,7 @@ jobs:
|
||||
run: docker-compose down -v
|
||||
- name: Upload reports
|
||||
if: always()
|
||||
uses: actions/upload-artifact@master
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: reports
|
||||
path: wdio/reports
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user