Skip to content

Commit

Permalink
feat: add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurTriis1 committed Oct 10, 2024
1 parent 351996e commit 299bbc9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: Release Version

on:
pull_request:
types: [closed]
types: [opened, synchronize]

jobs:
check-merge:
if: github.event.pull_request.merged == true
request-version:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,9 +28,8 @@ jobs:
})
check-version:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
needs: check-merge
needs: request-version
steps:
- name: Check version bump reaction
uses: actions/github-script@v6
Expand All @@ -56,7 +54,6 @@ jobs:
core.setOutput('version_type', versionType);
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
needs: check-version
steps:
Expand All @@ -66,7 +63,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
registry-url: 'https://registry.npmjs.org/'

- name: Install dependencies
Expand Down

0 comments on commit 299bbc9

Please sign in to comment.