π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat/github CI cleanup
Enno Gelhaus630435495325
diff --git a/.github/workflows/build-pr b/.github/workflows/build-prdeleted file mode 100644index 513fe8031..000000000--- a/.github/workflows/build-pr+++ /dev/null@@ -1,71 +0,0 @@-----name: Build--on:- pull_request:--jobs:- build:- runs-on: ubuntu-latest-- strategy:- matrix:- node-version: ['20.17.0']- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/-- environment:- name: build-pr-- steps:- - uses: actions/checkout@v4- with:- fetch-depth: 0-- - name: Use Node.js ${{ matrix.node-version }}- uses: actions/setup-node@v4- with:- node-version: ${{ matrix.node-version }}-- - name: Install pnpm- uses: pnpm/action-setup@v2- with:- version: 8- run_install: false-- - name: Get pnpm store directory- shell: bash- run: |- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV-- - name: Setup pnpm cache- uses: actions/cache@v4- with:- path: |- ${{ env.STORE_PATH }}- ${{ github.workspace }}/.next/cache- key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}- restore-keys: |- ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}--- - name: Install dependencies- run: pnpm install-- - name: Build- run: pnpm run build-- - name: Get Commit SHA (short)- id: get_version- run: |- # Get the short 8-character commit SHA- VERSION=$(git rev-parse --short=8 HEAD)- echo "Commit SHA is $VERSION"- echo "tag=$VERSION" >> $GITHUB_OUTPUT-- - name: SonarQube Analysis (Pull Request)- uses: SonarSource/sonarqube-scan-action@v6- with:- args: >- -Dsonar.projectVersion=${{ steps.get_version.outputs.tag }}- -Dsonar.pullrequest.key=${{ github.event.pull_request.number }}- -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}- -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}diff --git a/.github/workflows/build b/.github/workflows/build.ymlsimilarity index 100%rename from .github/workflows/buildrename to .github/workflows/build.ymldiff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex fee773132..79d648574 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -4,7 +4,7 @@ name: "Code Quality Analysis"on:push:branches:- - dev1+ - mainpaths:- apps/**- '!apps/docs/**'diff --git a/.github/workflows/eslint b/.github/workflows/eslint.ymlsimilarity index 100%rename from .github/workflows/eslintrename to .github/workflows/eslint.yml