Removes redundant matrix for now

This commit is contained in:
zomars 2022-07-11 18:27:24 -06:00
parent 83d2c924ca
commit 6e1c165b31
4 changed files with 16 additions and 33 deletions

View File

@ -4,16 +4,11 @@ on:
branches: branches:
- main - main
paths: paths:
- '**.tsx?' - "**.tsx?"
jobs: jobs:
check-types: check-types:
name: Check types name: Check types
strategy: runs-on: ubuntu-latest
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -21,10 +16,10 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2 fetch-depth: 2
- name: Use Node ${{ matrix.node }} - name: Use Node 16.x
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: 16.x
cache: "yarn" cache: "yarn"
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- run: yarn type-check - run: yarn type-check

View File

@ -11,11 +11,7 @@ jobs:
e2e-embed: e2e-embed:
timeout-minutes: 20 timeout-minutes: 20
name: Embed and booking flow(for non-embed as well) name: Embed and booking flow(for non-embed as well)
strategy: runs-on: ubuntu-latest
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env: env:
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
@ -66,10 +62,10 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks
fetch-depth: 2 fetch-depth: 2
- run: echo 'NODE_OPTIONS="--max_old_space_size=4096"' >> $GITHUB_ENV - run: echo 'NODE_OPTIONS="--max_old_space_size=4096"' >> $GITHUB_ENV
- name: Use Node ${{ matrix.node }} - name: Use Node 16.x
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: 16.x
cache: "yarn" cache: "yarn"
- name: Cache playwright binaries - name: Cache playwright binaries

View File

@ -9,12 +9,8 @@ on:
jobs: jobs:
e2e: e2e:
timeout-minutes: 20 timeout-minutes: 20
name: Testing ${{ matrix.node }} and ${{ matrix.os }} name: Testing 16.x and ubuntu-latest
strategy: runs-on: ubuntu-latest
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env: env:
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
@ -68,10 +64,10 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks
fetch-depth: 2 fetch-depth: 2
- run: echo 'NODE_OPTIONS="--max_old_space_size=4096"' >> $GITHUB_ENV - run: echo 'NODE_OPTIONS="--max_old_space_size=4096"' >> $GITHUB_ENV
- name: Use Node ${{ matrix.node }} - name: Use Node 16.x
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: 16.x
cache: "yarn" cache: "yarn"
- name: Cache playwright binaries - name: Cache playwright binaries

View File

@ -4,15 +4,11 @@ on:
branches: branches:
- main - main
paths: paths:
- '**.tsx?' - "**.tsx?"
- '**.jsx?' - "**.jsx?"
jobs: jobs:
lint: lint:
strategy: runs-on: ubuntu-latest
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout repo - name: Checkout repo
@ -21,10 +17,10 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2 fetch-depth: 2
- name: Use Node ${{ matrix.node }} - name: Use Node 16.x
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: 16.x
cache: "yarn" cache: "yarn"
- name: Install deps - name: Install deps