Skip to content
Merged
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
24 changes: 3 additions & 21 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,6 @@ jobs:
persist-credentials: false
token: ${{ secrets.GH_TOKEN }}
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

- name: Setup SSH signing
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_SIGNING_PRIVATE_KEY }}" > ~/.ssh/signing_key
chmod 600 ~/.ssh/signing_key
echo "${{ secrets.SSH_SIGNING_PUBLIC_KEY }}" > ~/.ssh/signing_key.pub
chmod 644 ~/.ssh/signing_key.pub
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/signing_key.pub
git config --global commit.gpgsign true
git config --global tag.gpgsign true

- name: Git Identity
run: |
git config --global user.name 'scaleway-bot'
Expand All @@ -48,16 +35,11 @@ jobs:
registry-url: 'https://registry.npmjs.org/'
node-version: 20
check-latest: true
- run: make install-dependencies
- run: make build
- run: pnpm install
- run: pnpm run build

- name: Version package with lerna
run: |
pnpm lerna changed
# Commit any generated files before versioning
git add .
git commit -m "chore: update generated files" || true
pnpm lerna version -y --no-private --force-git-tag --create-release github
run: pnpm lerna version -y --no-private --force-git-tag --create-release github
env:
HUSKY: 0
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
Loading
Loading