Skip to content

Commit

Permalink
Just run on latest bun/ubuntu for now
Browse files Browse the repository at this point in the history
  • Loading branch information
robertherber committed Dec 26, 2023
1 parent 369b1a4 commit 45d7599
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autopublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
bun-version: 1.0.20

- run: HUSKY=0 bun install --concurrent-scripts 1
- run: HUSKY=0 bun install --concurrent-scripts 1 --ignore-scripts
env:
HUSKY: 0

Expand Down
33 changes: 17 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
fail-fast: false
max-parallel: 10
matrix:
bun-version: [1.0.20, 1.0.19]
os: [ubuntu-latest, macos-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
mongo-version: [7.0.4]
bun-version: [1.0.20]
os: [ubuntu-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
timeout-minutes: 10
env:
MONGOMS_PREFER_GLOBAL_PATH: true
MONGOMS_VERSION: 7.0.2
MONGOMS_VERSION: ${{ matrix.mongo-version }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -56,15 +57,16 @@ jobs:
fail-fast: false
max-parallel: 10
matrix:
bun-version: [1.0.20, 1.0.19]
os: [ubuntu-latest, macos-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
mongo-version: [7.0.4]
bun-version: [1.0.20]
os: [ubuntu-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
MONGOMS_PREFER_GLOBAL_PATH: true
MONGOMS_VERSION: 7.0.2
MONGOMS_VERSION: ${{ matrix.mongo-version }}
timeout-minutes: 10
# disable for now - since it for some reason fails on CI
if: false
Expand Down Expand Up @@ -101,9 +103,8 @@ jobs:
fail-fast: false
max-parallel: 10
matrix:
bun-version: [1.0.20, 1.0.19]
os: [ubuntu-latest, macos-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
# The type of runner that the job will run on
bun-version: [1.0.20]
os: [ubuntu-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
env:
Expand All @@ -119,7 +120,7 @@ jobs:
with:
bun-version: ${{ matrix.bun-version }}

- run: bun install --concurrent-scripts 1
- run: bun install --concurrent-scripts 1 --ignore-scripts

- name: Typecheck
run: bun run typecheck
Expand All @@ -129,8 +130,8 @@ jobs:
fail-fast: false
max-parallel: 10
matrix:
bun-version: [1.0.20, 1.0.19]
os: [ubuntu-latest, macos-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
bun-version: [1.0.20]
os: [ubuntu-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
timeout-minutes: 10
Expand All @@ -147,7 +148,7 @@ jobs:
with:
bun-version: ${{ matrix.bun-version }}

- run: bun install --concurrent-scripts 1
- run: bun install --concurrent-scripts 1 --ignore-scripts

- name: Lint
run: bun run lint
Expand All @@ -157,8 +158,8 @@ jobs:
fail-fast: false
max-parallel: 10
matrix:
bun-version: [1.0.20, 1.0.19]
os: [ubuntu-latest, macos-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
bun-version: [1.0.20]
os: [ubuntu-latest] # os: [ubuntu-latest, windows-latest, macos-latest]
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
timeout-minutes: 10
Expand All @@ -174,6 +175,6 @@ jobs:
with:
bun-version: ${{ matrix.bun-version }}

- run: bun install --concurrent-scripts 1
- run: bun install --concurrent-scripts 1 --ignore-scripts

- run: bun run graphql-codegen

0 comments on commit 45d7599

Please sign in to comment.