- Sidebar menu is not open by default in navbar story. #2664
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare repository | |
run: git fetch --unshallow --tags | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- name: install, build and test | |
run: | | |
yarn install --frozen-lockfile | |
yarn lerna link | |
yarn pre-build-check | |
yarn build-packages | |
yarn post-build-check | |
env: | |
CI: true | |
- name: "Compressed Size" | |
uses: preactjs/compressed-size-action@v2 | |
with: | |
build-script: "-v" # Will execute `yarn run -v` (essentially a no-op) | |
pattern: "packages/*/dist/*.js" | |
- name: Create Release | |
if: ${{ github.event_name == 'push' && github.ref_name == 'master' && !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci') }} | |
run: | | |
yarn auto shipit | |
rm $HOME/.npmrc || true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
CI: true |