Skip to content

chore(deps): bump the github-actions group across 1 directory with 4 updates #201

chore(deps): bump the github-actions group across 1 directory with 4 updates

chore(deps): bump the github-actions group across 1 directory with 4 updates #201

Workflow file for this run

---
name: Continuous Integration
on:
# Run on pushes to the default branch.
push:
branches:
- main
# Run on all PRs.
pull_request:
types:
- opened
- synchronize
- reopened
# Support merge queues.
merge_group:
# Run on a schedule.
schedule:
- cron: "0 14 * * 1" # Every Monday at 9 in the morning CST
# Allow running this workflow manually from the Actions tab.
workflow_dispatch:
env:
DENO_VERSION: v1.44.4
permissions:
contents: read # Needed to clone the repository
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: 📚 Git checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
submodules: recursive
clean: true
persist-credentials: false
set-safe-directory: true
- name: ⠨⠿ Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
package_json_file: package.json
- name: ⬢ Install Node
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version-file: package.json
cache: "pnpm"
- name: ⚙️ Cache Turbo
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
id: cache-turbo
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🌐 Disable analytics
run: pnpm exec turbo telemetry disable
- name: 🔨 Build
run: pnpm run build
- run: git diff
- name: 🧹 Check for deduped dependencies
run: pnpm exec turbo check-deduped-deps -- --ignore-scripts
- name: 🕵️ Merge Checks
run: pnpm run merge-checks
- name: ⚙️ Upload GPA Calculator
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: gpa-calculator
path: "./apps/gpa-calculator/dist/"
if-no-files-found: error
- name: ⚙️ Upload Map
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: phs-map
path: "./apps/phs-map/dist/"
if-no-files-found: error
deploy-calculator:
name: Deploy GPA Calculator
needs: [build]
runs-on: ubuntu-latest
timeout-minutes: 4
permissions:
id-token: write # Needed for auth with Deno Deploy
concurrency:
group: ${{ github.workflow }}=${{ github.ref }}-deploy-calculator
cancel-in-progress: true
steps:
- name: 🦕 Install Deno
uses: denoland/setup-deno@fa660b328d065f7683e7303976bd81e2d58e98ae # v1.4.1
with:
deno-version: ${{ env.DENO_VERSION }}
- name: ⚙️ Download GPA Calculator
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: gpa-calculator
path: "./apps/gpa-calculator/dist/"
- name: 🔧 Upload to Deno Deploy
id: deploy
uses: denoland/deployctl@612f83df2b874c6908d68de5cf3f36a6538fa8f7 # 1.12.0
with:
project: "gpa-calculator"
entrypoint: https://deno.land/[email protected]/http/file_server.ts
root: "./apps/gpa-calculator/dist/"
deploy-map:
name: Deploy Map
needs: [build]
runs-on: ubuntu-latest
timeout-minutes: 4
permissions:
id-token: write # Needed for auth with Deno Deploy
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-deploy-map
cancel-in-progress: true
steps:
- name: 🦕 Install Deno
uses: denoland/setup-deno@fa660b328d065f7683e7303976bd81e2d58e98ae # v1.4.1
with:
deno-version: ${{ env.DENO_VERSION }}
- name: ⚙️ Download Map
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: phs-map
path: "./apps/phs-map/dist/"
- name: 🔧 Upload to Deno Deploy
id: deploy
uses: denoland/deployctl@612f83df2b874c6908d68de5cf3f36a6538fa8f7 # 1.12.0
with:
project: "phs-map"
entrypoint: https://deno.land/[email protected]/http/file_server.ts
root: "./apps/phs-map/dist/"