diff options
author | vsrs <[email protected]> | 2020-05-23 14:39:30 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-23 14:39:30 +0100 |
commit | e3223a7fd3935fdbb86a8f99af35866cc9957d35 (patch) | |
tree | 5412c96d76526b05ead3a3ea2de1a2160d0fa5fe /.github | |
parent | a09b308b4e1d6d1be3ce55b76f33705f9357912b (diff) |
OS matrix for TypeScript
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e3e5a2c57..0d231cb74 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -97,7 +97,13 @@ jobs: | |||
97 | 97 | ||
98 | typescript: | 98 | typescript: |
99 | name: TypeScript | 99 | name: TypeScript |
100 | runs-on: ubuntu-latest | 100 | strategy: |
101 | fail-fast: false | ||
102 | matrix: | ||
103 | os: [ubuntu-latest, windows-latest, macos-latest] | ||
104 | |||
105 | runs-on: ${{ matrix.os }} | ||
106 | |||
101 | steps: | 107 | steps: |
102 | - name: Checkout repository | 108 | - name: Checkout repository |
103 | uses: actions/checkout@v2 | 109 | uses: actions/checkout@v2 |
@@ -111,6 +117,7 @@ jobs: | |||
111 | working-directory: ./editors/code | 117 | working-directory: ./editors/code |
112 | 118 | ||
113 | - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; } | 119 | - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; } |
120 | if: runner.os == 'Linux' | ||
114 | working-directory: ./editors/code | 121 | working-directory: ./editors/code |
115 | 122 | ||
116 | - run: npm run lint | 123 | - run: npm run lint |