Skip to content

Commit

Permalink
Workflow updates and fixes (#557)
Browse files Browse the repository at this point in the history
* Workflow updates and fixes

* chore: upgrade TSX

---------

Co-authored-by: Saihajpreet Singh <[email protected]>
  • Loading branch information
benface and saihaj authored Dec 11, 2023
1 parent 1efa195 commit 0dd9031
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 32 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-cd-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Checkout the repo
uses: actions/checkout@v3
- name: Check out the repo
uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -44,8 +44,8 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Check out the repo
uses: actions/checkout@v4

- name: Authenticate to GCP
uses: google-github-actions/auth@v1
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ci-cd-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Checkout the repo
uses: actions/checkout@v3
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up pnpm
uses: pnpm/action-setup@v2
- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
packageManager: pnpm

- name: Install dependencies
run: pnpm install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Checkout the repo
uses: actions/checkout@v3
- name: Check out the repo
uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand All @@ -45,8 +45,8 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Check out the repo
uses: actions/checkout@v4

- name: Authenticate to GCP
uses: google-github-actions/auth@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/next-js-bundle-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Checkout the repo
uses: actions/checkout@v3
- name: Check out the repo
uses: actions/checkout@v4

- name: Setup env
- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/opengraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
name: Deploy to Cloudflare Workers
runs-on: ubuntu-latest
steps:
- name: checkout
- name: Check out the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.COMMIT }}

- uses: the-guild-org/shared-config/setup@main
name: setup env
- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
packageManager: pnpm
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/website-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v3
- name: Check out the repo
uses: actions/checkout@v4

- name: Fetch
run: git fetch origin main

- name: Setup env
- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
Expand Down
2 changes: 1 addition & 1 deletion packages/og-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@cloudflare/workers-types": "^4.20231025.0",
"@types/react": "^18.2.34",
"jest-image-snapshot": "^6.2.0",
"tsx": "^3.14.0",
"tsx": "^4.6.2",
"typescript": "^5.2.2",
"vitest": "^0.34.6",
"wrangler": "^3.15.0"
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/react": "^18.2.34",
"@types/react-dom": "^18.2.14",
"fast-xml-parser": "^4.3.2",
"tsx": "^3.14.0",
"tsx": "^4.6.2",
"unified": "^11.0.4"
},
"nextBundleAnalysis": {
Expand Down

0 comments on commit 0dd9031

Please sign in to comment.