drop support for deprecated ubuntu 18.04
add support for ubuntu 22.04
This commit is contained in:
parent
46553eae11
commit
9ef8eed57e
10 changed files with 19 additions and 17 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
|
@ -16,8 +16,9 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- 'ubuntu-22.04'
|
||||
- 'ubuntu-20.04'
|
||||
- 'ubuntu-18.04'
|
||||
- 'ubuntu-latest'
|
||||
- 'macos-latest'
|
||||
- 'windows-latest'
|
||||
steps:
|
||||
|
|
@ -35,15 +36,15 @@ jobs:
|
|||
- run: npm ci
|
||||
|
||||
- name: Run prettier
|
||||
if: startsWith(matrix.os, 'ubuntu-18.04')
|
||||
if: startsWith(matrix.os, 'ubuntu-22.04')
|
||||
run: npm run format:check
|
||||
|
||||
- name: Run eslint
|
||||
if: startsWith(matrix.os, 'ubuntu-18.04')
|
||||
if: startsWith(matrix.os, 'ubuntu-22.04')
|
||||
run: npm run lint
|
||||
|
||||
- name: Run ncc
|
||||
if: startsWith(matrix.os, 'ubuntu-18.04')
|
||||
if: startsWith(matrix.os, 'ubuntu-22.04')
|
||||
run: npm run build
|
||||
|
||||
- run: npm test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue