Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sofronijevikj committed Mar 5, 2024
1 parent 2f50684 commit e58e265
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 40 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/Pipeline.main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

This file was deleted.

0 comments on commit e58e265

Please sign in to comment.