Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: remove unused .github/workflows code #46

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 0 additions & 76 deletions .github/workflows/codeql.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/forced-java-release.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/protect-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ jobs:
if: steps.cache-npm.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile

- name: Set up JDK
uses: actions/setup-java@v3
with:
cache: "maven"
java-version: "8.0.332+9"
distribution: "temurin"

- name: Install MAVEN dependencies
run: mvn dependency:resolve -B -U

- name: lint
run: yarn lint

Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,6 @@ jobs:
if: steps.cache-npm.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile

- name: Set up JDK
uses: actions/setup-java@v3
with:
cache: maven
java-version: "8.0.332+9"
distribution: "temurin"

- name: Install MAVEN dependencies
run: mvn dependency:resolve -B -U

- name: lint
run: yarn lint

Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,6 @@ jobs:
if: steps.cache-npm.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile

- name: Set up JDK for Maven Deployment
uses: actions/setup-java@v3
with:
cache: maven
java-version: "8.0.332+9"
distribution: "temurin"
server-id: ossrh
server-username: MVN_USERNAME
server-password: MVN_PASSWORD
env:
MVN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MVN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

- name: Install MAVEN dependencies
run: mvn dependency:resolve -B -U

- name: lint
run: yarn lint

Expand All @@ -73,35 +57,3 @@ jobs:

- name: E2E tests
run: yarn test:e2e

- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v1
with:
changelog_file: Release-Notes.md

- name: Import GPG Key
uses: crazy-max/ghaction-import-gpg@v1
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: publish maven packages
run: mvn --batch-mode deploy -Prelease
env:
MVN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MVN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

- name: publish npm packages
run: yarn publish-npm
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body: ${{ steps.extract-release-notes.outputs.release_notes }}
env:
# The workflow permissions of the project must be updated to 'Workflows have read and write permissions in the repository for all scopes'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "nx run-many --target=build",
"watch": "nx run-many --target=watch --parallel=10",
"test": "nx run-many --target=test",
"test:ci": "yarn jest --verbose && yarn --cwd packages/java test",
"test:ci": "nx run-many --target=test",
"test:watch": "nx run-many --target=test:watch --parallel=10",
"test:update": "nx run-many --target=test:update",
"test:e2e": "nx run-many --target=test:e2e",
Expand Down
Loading