[Snyk] Upgrade eslint-plugin-react from 7.28.0 to 7.36.1 #80
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: 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/[email protected] | |
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 }}" |