mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
fix matrix
This commit is contained in:
parent
df9b84c3ec
commit
716d261bc0
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@ -19,6 +19,17 @@ jobs:
|
||||
node-version: 12
|
||||
- run: yarn
|
||||
- run: yarn lint
|
||||
config:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
- run: yarn
|
||||
- run: node lib/Config/Defaults.js > expected-config.sample.yml
|
||||
- run: cmp --silent config.sample.yml expected-config.sample.yml
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -31,18 +42,4 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
- run: yarn
|
||||
- run: yarn test
|
||||
config:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node_version: ['14', '12']
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
- run: yarn
|
||||
- run: node lib/Config/Defaults.js > expected-config.sample.yml
|
||||
- run: cmp --silent config.sample.yml expected-config.sample.yml
|
||||
- run: yarn test
|
Loading…
x
Reference in New Issue
Block a user