mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
OS matrix for TypeScript
This commit is contained in:
@@ -97,7 +97,13 @@ jobs:
|
||||
|
||||
typescript:
|
||||
name: TypeScript
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
@@ -111,6 +117,7 @@ jobs:
|
||||
working-directory: ./editors/code
|
||||
|
||||
- run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; }
|
||||
if: runner.os == 'Linux'
|
||||
working-directory: ./editors/code
|
||||
|
||||
- run: npm run lint
|
||||
|
||||
Reference in New Issue
Block a user