Skip to content

chore(deps): update dependency @types/node to v20.17.0 (#626) #669

chore(deps): update dependency @types/node to v20.17.0 (#626)

chore(deps): update dependency @types/node to v20.17.0 (#626) #669

Workflow file for this run

name: Build and Deploy Web - DEV
on:
push:
branches:
- master
env:
EDGIO_ENV: dev
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN}}
jobs:
build-deploy-web:
name: Deploy Web Dev
environment:
name: dev
url: https://dev.coh3stats.com/
runs-on: ubuntu-latest
concurrency:
group: deploy-master-to-dev
cancel-in-progress: true
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@master
with:
node-version: "20.x"
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules-v2
with:
path: |
node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Deps
run: yarn --prefer-offline --frozen-lockfile install
- name: Disable Vercel telemetry
run: yarn next telemetry disable
- name: Create Sentry release
uses: getsentry/action-release@master
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: coh-stats
SENTRY_PROJECT: coh3-stats-web
with:
environment: ${{ env.EDGIO_ENV }}
ignore_empty: true
ignore_missing: true
- name: Deploy to Edgio hosting
env:
DEPLOY_TOKEN: ${{ secrets.EDGIO_V7_DEPLOY_TOKEN}}
# Deploy command automatically runs the build
# Deploy command pulls ENV variables https://docs.edg.io/guides/basics/environments#environment-variables
run: |
npx edgio deploy --property=coh3-stats --organization=coh-stats -e $EDGIO_ENV --token $DEPLOY_TOKEN
npx edgio cache-clear --property=coh3-stats --organization=coh-stats -e $EDGIO_ENV --token $DEPLOY_TOKEN --path=/