Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Oct 19, 2023
1 parent 568daf8 commit f68bc04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- uses: pnpm/action-setup@v2.2.4
with:
version: latest
Expand All @@ -42,8 +42,8 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd dist
npm publish --no-git-checks
working-directory: dist
- name: Upload Artifact ⬆️
uses: actions/upload-artifact@v3
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

5 changes: 4 additions & 1 deletion scripts/build-finished.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ const pkg = require("../package.json");
const distDir = "dist";

const packageData = {
name: "agora-rtc-sdk-ng-fake",
name: `${pkg.name}`,
version: `${pkg.version}`,
description: "Fake Agora Web RTC for testing",
main: `${pkg.name}_${pkg.version}.js`,
publishConfig: {
registry: "https://npm.pkg.github.com",
},
};

const packagePath = path.join(distDir, "package.json");
Expand Down

0 comments on commit f68bc04

Please sign in to comment.