-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f50684
commit e58e265
Showing
2 changed files
with
21 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,30 +4,43 @@ on: | |
push: | ||
branches: | ||
- master | ||
|
||
pull_request: | ||
branches: [master] | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
simple_deployment_pipeline: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
- name: Install Dependencies | ||
|
||
- name: Abhängigkeiten installieren | ||
run: npm install | ||
|
||
- name: Code Linting (with Fix) | ||
run: npm run eslint -- --fix | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Run Tests | ||
run: npm test | ||
|
||
tag_release: | ||
if: ${{ github.event_name == 'push' && (!contains(toJSON(github.event.head_commit.message), '#skip')) }} | ||
needs: [simple_deployment_pipeline] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Bump version and push tag | ||
uses: anothrNick/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
32 changes: 0 additions & 32 deletions
32
.github/workflows/Workflow-Konfiguration main.Workflow-Konfiguration main.yml
This file was deleted.
Oops, something went wrong.