From d46d5b178313d353b2dd0a307e7f666f4075f931 Mon Sep 17 00:00:00 2001 From: Nissim Lebovits <111617674+nlebovits@users.noreply.github.com> Date: Fri, 19 Jul 2024 20:48:20 +0200 Subject: [PATCH] Staging (#816) ## Summary ### Dependencies - **pydantic:** 1.10.12 to 2.8.2 - **@typescript-eslint/parser:** 7.3.1 to 7.16.1 - **slack-sdk:** 3.28.0 to 3.31.0 - **framer-motion:** 10.18.0 to 11.3.8 - **pandas:** 2.1.4 to 2.2.2 - **postcss:** 8.4.29 to 8.4.39 - **@nextui-org/react:** 2.2.10 to 2.4.5 - **autoprefixer:** 10.4.15 to 10.4.19 - **mapbox-gl:** 3.2.0 to 3.5.2 - **next:** 14.1.4 to 14.2.5 - **protobufjs:** 7.2.6 to 7.3.2 - **react:** 18.2.0 to 18.3.1 - **@types/react:** 18.2.69 to 18.3.3 - **react-dom:** 18.2.0 to 18.3.1 - **@types/react-dom:** 18.2.22 to 18.3.0 - **sharp:** 0.33.2 to 0.33.4 - **typescript:** 5.2.2 to 5.5.3 - **@types/node:** 20.11.30 to 20.14.11 - **@types/pg:** 8.11.4 to 8.11.6 - **eslint:** 8.57.0 to 9.7.0 - **eslint-plugin-react:** 7.34.1 to 7.34.4 - **postcss-preset-env:** 9.5.6 to 9.6.0 ### Other Changes - Removed redundant language from contributor docs - Added semantic release and release drafter (not fully working?) - Automated PR management with auto-labeling and auto-assigning - Fixed dependabot target branch and labeling permissions - Fixed ESLint and Prettier conflicts - Quick fixes for npm formatting issues --- .github/release-drafter.yml | 9 ++++++++- .github/workflows/release-drafter.yml | 3 ++- .github/workflows/release.yml | 10 ++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index da342546..21058875 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -8,4 +8,11 @@ categories: - title: '📝 Documentation' labels: [documentation] change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -version-resolver: semver +version-resolver: + major: { 'pattern': 'BREAKING CHANGE' } + minor: { 'pattern': 'feat' } + patch: { 'pattern': 'fix' } +template: | + ## Changes + $CHANGES +no-changes-template: '* No changes' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 4efa212e..cd0cf99a 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -5,7 +5,8 @@ on: branches: - main pull_request: - types: [closed] + types: [opened, reopened, synchronize, edited, closed] + workflow_dispatch: jobs: update_release_draft: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee9a7036..8c6d932b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: jobs: release: @@ -17,6 +18,15 @@ jobs: with: node-version: '20.8.1' + - name: List files in the root directory + run: ls -al + + - name: Check if package-lock.json exists + run: test -f package-lock.json && echo "package-lock.json exists" || echo "package-lock.json does not exist" + + - name: Clear NPM Cache + run: npm cache clean --force + - name: Install dependencies run: npm ci