Skip to content

Bump golang.org/x/net from 0.0.0-20220520000938-2e3eb7b945c2 to 0.7.0 in /cli #10

Bump golang.org/x/net from 0.0.0-20220520000938-2e3eb7b945c2 to 0.7.0 in /cli

Bump golang.org/x/net from 0.0.0-20220520000938-2e3eb7b945c2 to 0.7.0 in /cli #10

name: CLI Run Examples
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: ["main"]
pull_request:
types: [opened, edited, synchronize]
jobs:
examples:
name: CLI run examples
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
manager: [yarn, npm]
example: [basic, design-system, kitchen-sink]
include:
- os: ubuntu-latest
manager: pnpm
example: with-pnpm
- os: macos-latest
manager: pnpm
example: with-pnpm
runs-on: ${{ matrix.os }}
steps:
# Used by scripts/check-examples.sh
- name: Install Sponge
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install -y moreutils
else
brew install moreutils
fi
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-go
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: pnpm/action-setup@v2.2.2
with:
version: 7.2.1
- name: Make sure pnpm always has a cache
shell: bash
run: |
mkdir -p `pnpm store path`
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 16
cache: ${{matrix.manager}}
cache-dependency-path: package.json
- name: Check \"${{matrix.example}}\" example with \"${{ matrix.manager }}\"
shell: bash
env:
FORCE_COLOR: true
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
run: pnpm -- turbo run run-example -- "${{ matrix.example }}" "${{ matrix.manager }}"