adjust response data model #359
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
on: | |
push: | |
# Workflow to upload bundle information to packtracker | |
name: app-bundle | |
jobs: | |
# Upload packtracker to monitor bundle sizes | |
report: | |
name: Report bundle size | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Load Yarn cache | |
uses: actions/cache@v1 | |
id: yarn-cache | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install | |
- name: Bootstrap monorepo | |
run: yarn run bootstrap | |
- name: Run build with packtracker plugin enabled | |
run: yarn workspace @architus/app build | |
env: | |
ENABLE_PACKTRACKER: "1" | |
PACKTRACKER_TOKEN: ${{ secrets.PT_PROJECT_TOKEN }} |