Skip to content

Commit

Permalink
ci: abort workflows if newer push exists, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
codeofmochi committed Feb 7, 2023
1 parent d0b6fe2 commit 613b452
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 26 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/publishNpm.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 613b452

Please sign in to comment.