Skip to content

Commit

Permalink
Switch to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofgs committed Dec 21, 2023
1 parent e520ab3 commit 229ce34
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,12 @@ jobs:
- name: Install Dependencies
run: |
yarn install --frozen-lockfile
yarn plugin import version
- name: Setup .yarnrc.yml
run: |
yarn config set npmScopes.customerio.npmRegistryServer "https://npm.pkg.github.com"
yarn config set npmScopes.customerio.npmAlwaysAuth true
yarn config set npmScopes.customerio.npmAuthToken $NPM_AUTH_TOKEN
yarn config
env:
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd packages/node
yarn version prerelease
yarn npm publish
yarn build
npm version prerelease
npm publish

0 comments on commit 229ce34

Please sign in to comment.