Skip to content

Commit 2c9109f

Browse files
committed
fix: revert cmd makefile in deploy ci
1 parent c578aaf commit 2c9109f

File tree

2 files changed

+5629
-2063
lines changed

2 files changed

+5629
-2063
lines changed

.github/workflows/deploy-package.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ jobs:
1515
fetch-depth: '0'
1616
persist-credentials: false
1717
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
18-
19-
- name: Setup SSH signing
20-
run: |
21-
mkdir -p ~/.ssh
22-
echo "${{ secrets.SSH_SIGNING_PRIVATE_KEY }}" > ~/.ssh/signing_key
23-
chmod 600 ~/.ssh/signing_key
24-
echo "${{ secrets.SSH_SIGNING_PUBLIC_KEY }}" > ~/.ssh/signing_key.pub
25-
chmod 644 ~/.ssh/signing_key.pub
26-
git config --global gpg.format ssh
27-
git config --global user.signingkey ~/.ssh/signing_key.pub
28-
git config --global commit.gpgsign true
29-
git config --global tag.gpgsign true
30-
3118
- name: Git Identity
3219
run: |
3320
git config --global user.name 'scaleway-bot'
@@ -43,18 +30,18 @@ jobs:
4330
registry-url: 'https://registry.npmjs.org/'
4431
node-version: 20
4532
check-latest: true
46-
- run: make install-dependencies
47-
- run: make build
33+
- run: pnpm install
34+
- run: pnpm run build
4835

4936
- name: Version package with lerna
50-
run: make publish
37+
run: pnpm lerna version -y --no-private --force-git-tag --create-release github
5138
env:
5239
HUSKY: 0
5340
GH_TOKEN: ${{ secrets.GH_TOKEN }}
5441

5542
# https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
5643
- name: Publish to npm
57-
run: make publish
44+
run: pnpm -r publish --access public --tag latest
5845
env:
5946
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6047
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)