Add tokei #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
build: | |
name: Build 🛠️ | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Install pnpm ⚙ | |
uses: pnpm/action-setup@v2.2.2 | |
with: | |
version: 7 | |
- name: Install Node 🟢 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "pnpm" | |
cache-dependency-path: frontend/pnpm-lock.yaml | |
- name: Install treemaps library 📦 | |
run: | | |
cd frontend | |
git clone --branch hiviser_deployment https://${{ secrets.SEERENE_TREEMAPS_DEPLOY_USER }}:${{ secrets.SEERENE_TREEMAPS_DEPLOY_TOKEN }}@gitlab.hpi3d.de/seerene/treemaps.git | |
cd treemaps | |
npm install | |
npm run build-lib | |
- name: Install and Build 🔧 | |
run: | | |
cd frontend | |
pnpm install | |
pnpm run build |