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

ci: updates release workflows #370

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
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
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Continuous integration

concurrency:
Expand All @@ -7,13 +6,10 @@ concurrency:
on:
pull_request:
branches:
- 'main'
- 'release/*'
- "main"
push:
branches:
- 'main'
- 'release/*'

- "main"

jobs:
build-and-test:
Expand All @@ -24,7 +20,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
submodules: "true"

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -40,7 +36,7 @@ jobs:
- name: Install wasm-pack
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Install
run: npm install && npm i @rollup/rollup-linux-x64-gnu

Expand Down
118 changes: 0 additions & 118 deletions .github/workflows/e2e-tests.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Integration

on:
push:
branches:
- "main"

jobs:
integrate:
name: Build and test
runs-on: ubuntu-latest

steps:
- name: Dispatch integration
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
repository: input-output-hk/identus-integration
event-type: integration
client-payload: '{"component": "sdk-ts", "version": "${{ github.sha }}" }'
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
name: Release wallet-sdk-ts

on:
workflow_call:
inputs:
release_candidate:
description: 'Release candidate'
default: true
required: true
type: boolean
workflow_dispatch:
inputs:
release_candidate:
description: 'Release candidate'
default: true
required: true
type: boolean

jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -62,4 +56,4 @@ jobs:
GIT_COMMITTER_NAME: ${{ steps.import_gpg.outputs.name }}
run: |
npm install
npx semantic-release -e ./release.config.js
npx semantic-release
Loading
Loading