Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Sep 30, 2023
1 parent 5d894f6 commit 7bc25cb
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release

on:
push:
branches:
- main # adjust this to your main development branch if it's not "main"
workflow_dispatch: # this allows for manual triggering

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18' # adjust this to your project's Node.js version

- name: Install Dependencies
run: npm ci # or use "npm install" if you don't have a lock file

- name: Test
run: npm test # adjust this to your project's test command

- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
Empty file added CHANGELOG.md
Empty file.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "prism-pluto-encrypted",
"name": "@djack-p2p/pluto-encrypted",
"version": "0.0.1",
"description": "Contains an [Atala Prism Wallet SDK Pluto](https://input-output-hk.github.io/atala-prism-wallet-sdk-ts/interfaces/Domain.Pluto.html) implementation using Dexie and Dexie Encrypted.",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"type": "module",
"private": "true",
"scripts": {
"postinstall": "cd sdk && npm i && npm run build",
"clean": "rm -rf build",
Expand Down
13 changes: 13 additions & 0 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
module.exports = {
branches: ["main"],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
],
};

0 comments on commit 7bc25cb

Please sign in to comment.