Skip to content

Commit

Permalink
refactor: remove unused node dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-mader committed Nov 19, 2024
1 parent 6bc7ddd commit 43c4469
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 6,820 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# https://github.com/semantic-release/semantic-release/blob/master/docs/recipes/ci-configurations/github-actions.md
name: Release

on:
workflow_dispatch:
# push:
# branches:
# - main
# push:
# branches:
# - main
# - next
# - beta
# - alpha

permissions:
contents: read # for checkout
Expand All @@ -14,26 +16,24 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest

permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@

**/*.env
!**/.env.example

node_modules
4 changes: 4 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/github"
77 changes: 0 additions & 77 deletions agent_application/example-config.yaml

This file was deleted.

1 change: 0 additions & 1 deletion agent_store/src/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ pub async fn holder_state(
pub async fn verification_state(
verification_services: Arc<VerificationServices>,
event_publishers: Vec<Box<dyn EventPublisher>>,
connection_string: &str,
) -> VerificationState {
let connection_string = config().event_store.connection_string.clone().expect(
"Missing config parameter `event_store.connection_string` or `UNICORE__EVENT_STORE__CONNECTION_STRING`",
Expand Down
Loading

0 comments on commit 43c4469

Please sign in to comment.