chore: reformat with prettier - 2 TabWidth #13
Workflow file for this run
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
name: Feature | |
on: | |
push: | |
branches: [feature/**/*, feature/*] | |
env: | |
NX_BRANCH: ${GITHUB_REF##*/} | |
jobs: | |
Feature: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v4 | |
- name: 📦 Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
cache: 'npm' | |
- name: 📦 Install NX-Linux | |
run: npm install @nx/nx-linux-x64-gnu | |
- name: 📦 Install dependencies | |
run: npm install | |
- name: 🚀 Check Format | |
run: npm run nx format:check | |
- name: 🚀 Lint Apps | |
run: npm run nx affected:lint --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} --parallel --maxParallel=3 | |
- name: 🚀 Test Apps | |
run: npm run nx affected:test --passWithNoTests --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} --parallel --maxParallel=3 | |
- name: 🚀 e2e Apps | |
run: npm run nx affected:e2e --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} --parallel --maxParallel=3 | |
- name: 🚀 Build Apps | |
run: npm run nx affected:build --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} --parallel --maxParallel=3 | |
- name: 🪐 Patch version for each merge | |
id: taggerDryRun | |
uses: anothrNick/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
WITH_V: true | |
DEFAULT_BUMP: patch | |
PRE_RELEASE: true | |
- name: 🪐 Output Tag | |
run: | | |
echo "${{ steps.taggerDryRun.outputs.new_tag }}" | |
- name: API Alerts Notify | |
uses: apialerts/notify-action@v1 | |
with: | |
api_key: ${{ secrets.API_ALERTS_KEY }} | |
message: '🚢 Feature - New Patch Released (${{ steps.taggerDryRun.outputs.new_tag }})' | |
tags: 'Azkaban,Feature' | |
link: 'https://api.toxictoast.de/swagger' |