build(blade): update version (#2405) #499
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: Blade Interaction Tests | |
# Runs the action when | |
# 1. 'Run Interaction Tests' label is added to PR | |
# 2. Workflow is trigerred manually | |
# 3. PR is merged to master | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [labeled] | |
push: | |
branches: | |
- 'master' | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | |
jobs: | |
interaction-tests: | |
name: Run Interaction Tests | |
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner | |
if: ${{ github.event_name == 'workflow_dispatch' || github.event.label.name == 'Run Interaction Tests' || github.event_name == 'push' }} | |
steps: | |
- name: Checkout Codebase | |
uses: actions/checkout@v3 | |
- name: Use Node v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.1 | |
- name: Setup Cache & Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Run Interaction Tests | |
run: | | |
npx playwright install chromium firefox webkit --with-deps | |
yarn test:react:interaction:ci | |
working-directory: packages/blade |