Skip to content

just no tsc

just no tsc #19

Workflow file for this run

name: Frontend CICD
on: [push, pull_request]
env:
ARTIFACT_DIR: release-artifacts
FRONTEND_ARTIFACT_NAME: frontend-artifact
jobs:
build-frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: cd components/config && npm install && cd ../.. && npm install
- name: Build all
run: npm run build-all
- name: Archive artifacts
run: tar -czvf ${{ env.FRONTEND_ARTIFACT_NAME }}.tar.gz dist
- name: Archive front artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ env.FRONTEND_ARTIFACT_NAME }}
path: ${{ env.FRONTEND_ARTIFACT_NAME }}.tar.gz