Skip to content

fix(Button): dispatch onclick event on edge #6456

fix(Button): dispatch onclick event on edge

fix(Button): dispatch onclick event on edge #6456

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install
run: |
npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Test
if: success()
run: |
npm run test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install
run: |
npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Test
if: success()
run: |
npm run eslint
stylelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install
run: |
npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Test
if: success()
run: |
npm run stylelint
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install
run: |
npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Test
if: success()
run: |
npm run build
build-storybook-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install
run: |
npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Test
if: success()
run: |
npm run build-storybook
# TODO probably not needed cause interactions test are runed by Chromatic anyway - remove?
# storybook-jest:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v3
# with:
# node-version-file: ".nvmrc"
# - name: Install
# run: |
# npm ci
# env:
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}
#
# - name: Test
# if: success()
# run: |
# npm run test:stories