Skip to content

Commit

Permalink
fix(build): add build workflow (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Jan 15, 2024
1 parent 076aad7 commit f2ef922
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 36 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

# Control when the action will run
on:
# Triggers the workflow on push events
push:

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: false

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
# Check-out repository under $GITHUB_WORKSPACE, so the job can access it
- name: Check out code
uses: actions/checkout@v4

- name: Yarn Install and Cache
uses: graasp/graasp-deploy/.github/actions/yarn-install-and-cache@v1
with:
cypress: false

# type check
- name: Type-check code
run: tsc --noEmit

- name: Build App
run: yarn build
shell: bash
env:
VITE_PORT: 3112
VITE_VERSION: build-ci
VITE_GRAASP_DOMAIN: localhost
VITE_GRAASP_API_HOST: http://localhost:3636
VITE_GRAASP_AUTH_HOST: http://localhost:3001
VITE_GRAASP_BUILDER_HOST: http://localhost:3111
VITE_SHOW_NOTIFICATIONS: true
36 changes: 0 additions & 36 deletions .github/workflows/update-staging-version.yml

This file was deleted.

0 comments on commit f2ef922

Please sign in to comment.