mirror of
https://github.com/videojs/video.js.git
synced 2024-12-23 02:04:34 +02:00
chore: update GitHub Actions version and remove xvfb (#8682)
* uncovered change to a file * update codecov action * revert temp test change * bump other action versions * remove xvfb action
This commit is contained in:
parent
ee07382f91
commit
af06f50d09
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
should-skip-job: ${{steps.skip-check.outputs.should_skip}}
|
should-skip-job: ${{steps.skip-check.outputs.should_skip}}
|
||||||
steps:
|
steps:
|
||||||
- id: skip-check
|
- id: skip-check
|
||||||
uses: fkirc/skip-duplicate-actions@v5.3.0
|
uses: fkirc/skip-duplicate-actions@v5.3.1
|
||||||
with:
|
with:
|
||||||
github_token: ${{github.token}}
|
github_token: ${{github.token}}
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: read node version from .nvmrc
|
- name: read node version from .nvmrc
|
||||||
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
|
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
run: pulseaudio -D
|
run: pulseaudio -D
|
||||||
|
|
||||||
- name: setup node
|
- name: setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '${{steps.nvm.outputs.NVMRC}}'
|
node-version: '${{steps.nvm.outputs.NVMRC}}'
|
||||||
cache: npm
|
cache: npm
|
||||||
@ -61,12 +61,10 @@ jobs:
|
|||||||
run: npm i --prefer-offline --no-audit
|
run: npm i --prefer-offline --no-audit
|
||||||
|
|
||||||
- name: run npm test
|
- name: run npm test
|
||||||
uses: coactions/setup-xvfb@v1
|
|
||||||
with:
|
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
- name: coverage
|
- name: coverage
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}}
|
token: ${{secrets.CODECOV_TOKEN}}
|
||||||
files: './test/dist/coverage/coverage-final.json'
|
files: './test/dist/coverage/coverage-final.json'
|
||||||
|
Loading…
Reference in New Issue
Block a user