Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
[monorepo] Edit workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
maxijonson committed Aug 2, 2023
1 parent 96e52dc commit dc10039
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: Develop Check
on:
push:
branches:
- 'develop'
- "develop"

jobs:
build:
develop_check:
name: Develop Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -17,15 +18,6 @@ jobs:

- name: Build code
run: npm run build
test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Run tests
run: npm run test
run: npm run test
20 changes: 8 additions & 12 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ name: Pull Request Check
on:
pull_request:
branches:
- '**'
- "**"

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
build:
pr_check:
name: PR Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -17,15 +22,6 @@ jobs:

- name: Build code
run: npm run build
test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Run tests
run: npm run test
run: npm run test

0 comments on commit dc10039

Please sign in to comment.