Skip to content

Commit

Permalink
chore(flow): update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jul 24, 2021
1 parent b756ff8 commit 9455b40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
with:
node-version: ${{ matrix.node_version }}
- run: yarn -v
- run: yarn config set 'registry' to 'https://registry.npmjs.org/:_authToken=${{secrets.NPM_AUTH_TOKEN}}'
- run: yarn --ignore-engines
- run: yarn build
- run: yarn run release:force
env:
HEADLESS: false
PROGRESS: none
NODE_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: --max_old_space_size=4096
2 changes: 1 addition & 1 deletion scripts/release/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function getTaggedTime(tag: string) {
}

export function getGithubToken() {
return process.env.GITHUB_AUTH
return process.env.GITHUB_AUTH || process.env.GITHUB_TOKEN
}
/**
* All existing tags in the repository
Expand Down

0 comments on commit 9455b40

Please sign in to comment.