Skip to content

Commit

Permalink
Merge pull request #26 from jim-deriv/jim/feq-2041/implement-semantic…
Browse files Browse the repository at this point in the history
…-release

[FEQ]Jim/FEQ-2041/add semantic release
  • Loading branch information
jim-deriv authored Apr 18, 2024
2 parents 989647f + 4b85abd commit 8824272
Show file tree
Hide file tree
Showing 5 changed files with 8,435 additions and 919 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Build and Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
with:
node-version: 20.x
- name: Install Dependencies
uses: 'deriv-com/shared-actions/.github/actions/npm_install@master'
- name: >-
Verify The Integrity of Provenance Attestations and Registry
Signatures for Installed Dependencies
run: npm audit signatures
- name: Release
env:
CI: true
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
run: npx semantic-release
Loading

0 comments on commit 8824272

Please sign in to comment.