diff --git a/.github/workflows/publishNpm.yml b/.github/workflows/publishNpm.yml deleted file mode 100644 index b2fae5c82..000000000 --- a/.github/workflows/publishNpm.yml +++ /dev/null @@ -1,24 +0,0 @@ -on: - workflow_dispatch: - - # push: - # # sequence of patterns matched against refs/tags - # tags: - # # push events to matching v*, i.e. v1.0, v20.15.10 - # - 'v*' - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: 10 - - run: yarn install - - run: yarn test - - - name: publish to npm - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index a153d8320..51aa223ab 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -9,6 +9,9 @@ on: - master jobs: build-and-deploy: + concurrency: + group: storybook-{{ github.ref }} + cancel-in-progress: true runs-on: ubuntu-latest steps: - name: checkout diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac42f27e8..0712fb11c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,13 @@ -name: Storyboook tests +name: Storybook tests on: [push] jobs: storybook-test: runs-on: ubuntu-latest - + concurrency: + group: storybook-tests-{{ github.head_ref || github.ref }} + cancel-in-progress: true steps: - uses: actions/checkout@v3 - name: Use Node.js 16.x