Skip to content

Commit

Permalink
E: remove unused .github/workflows code (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
meck93 authored Nov 7, 2024
2 parents d43091e + bda23f6 commit 7187fa6
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 189 deletions.
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

0 comments on commit 7187fa6

Please sign in to comment.