|
@@ -29,7 +29,6 @@ jobs:
|
|
|
- uses: actions/setup-node@v4
|
|
- uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
node-version: '20'
|
|
node-version: '20'
|
|
|
- registry-url: 'https://registry.npmjs.org'
|
|
|
|
|
cache: 'yarn'
|
|
cache: 'yarn'
|
|
|
cache-dependency-path: '**/yarn.lock'
|
|
cache-dependency-path: '**/yarn.lock'
|
|
|
|
|
|
|
@@ -49,6 +48,14 @@ jobs:
|
|
|
yarn global add node-gyp
|
|
yarn global add node-gyp
|
|
|
yarn --frozen-lockfile
|
|
yarn --frozen-lockfile
|
|
|
|
|
|
|
|
|
|
+ - name: Setup .npmrc
|
|
|
|
|
+ run: |
|
|
|
|
|
+ cat << EOF > "$HOME/.npmrc"
|
|
|
|
|
+ //registry.npmjs.org/:_authToken=$NPM_TOKEN
|
|
|
|
|
+ EOF
|
|
|
|
|
+ env:
|
|
|
|
|
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
|
|
|
+
|
|
|
- name: Snapshot release to npm
|
|
- name: Snapshot release to npm
|
|
|
run: |
|
|
run: |
|
|
|
yarn release-subpackages:next
|
|
yarn release-subpackages:next
|