Add docs to npm package

This commit is contained in:
Sander Declerck 2025-07-30 17:08:25 +02:00
parent 1bbfb5425d
commit 733887744d
No known key found for this signature in database

View file

@ -8,6 +8,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: safe-chain
steps:
- name: Checkout code
@ -27,6 +30,12 @@ jobs:
version="${{ github.ref_name }}"
echo "tag=$version" >> $GITHUB_OUTPUT
- name: Add docs
run: |
cp ../README.md ./README.md
cp ../LICENSE ./LICENSE
cp -r ../docs ./docs
- name: Set the version
run: npm --no-git-tag-version version ${{ steps.get_version.outputs.tag }}