Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Oct 12, 2023
1 parent 6387603 commit 9001985
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
contents: read
Expand All @@ -24,7 +23,7 @@ jobs:

run: |
npm set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }}
npm set "//registry.npmjs.org/:_authToken" ${{ secrets.SSH_KEY }}
pnpm install
pnpm run lint
pnpm run test
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@ on:
inputs:
package:
type: choice
description: choose package
description: 'choose package'
default: 'iris-web-rtc'
required: true
options:
- iris-web-rtc
- iris-web-rtm
version:
description: x.x.x-semver.x, semver: dev,build
description: 'x.x.x-semver.x, semver: dev,build'
required: true
default: 'patch'
type: string
releases:
description: create Releases, choose false if specify version
description: 'create Releases, choose false if specify version'
default: true
type: boolean
cdn:
description: upload to cdn
description: 'upload to cdn'
default: true
type: boolean
release_type:
description: The release type of CDN
description: 'The release type of CDN'
default: 'staging'
type: string
npm:
description: upload to npm
description: 'upload to npm'
default: false
type: boolean

Expand All @@ -50,7 +50,7 @@ jobs:
- name: Setup Dependencies 💚
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

run: |
pnpm install
Expand Down

0 comments on commit 9001985

Please sign in to comment.