Skip to content

mwa: Updating the get involved link to this year's (#410) #296

mwa: Updating the get involved link to this year's (#410)

mwa: Updating the get involved link to this year's (#410) #296

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Set up Turborepo caching
uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Test, lint, build
run: npx turbo test lint build
# Deployment prep
- name: "Configure for deployment"
if: github.ref == 'refs/heads/master'
run: npm run config:aws --workspace @raise/server
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# Deployment to dev environment
- name: "server: Retrieve env for dev environment"
if: github.ref == 'refs/heads/master'
run: echo "$DEV_ENV" > apps/server/src/env/dev.ts
env:
DEV_ENV: ${{ secrets.DEV_ENV }}
- name: "Deploy to dev environment"
if: github.ref == 'refs/heads/master'
run: npx turbo deploy:dev
# Deployment to prod environment
- name: "web: Deploy to prod environment"
if: github.ref == 'refs/heads/master'
run: npx turbo deploy:prod --filter web