Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci
run: npm ci --ignore-scripts

# This prevent lerna command from throwing this error:
# "Working tree has uncommitted changes, please commit or remove the following changes before continuing"
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,13 @@ jobs:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci

# This prevent lerna command from throwing this error:
# "Working tree has uncommitted changes, please commit or remove the following changes before continuing"
- name: Ignore git uncommitted changes
run: |
git update-index --skip-worktree .npmrc

run: npm ci --ignore-scripts

- name: Publish the release
env:
DRY_RUN: "${{ inputs.dry-run }}"
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm run ci:release
run: npm run ci:release

# The permissions configuration for this can be found at
# https://github.com/elastic/oblt-infra/blob/main/conf/resources/repos/apm-agent-rum-js/02-gcp-oidc-elastic-cdn.tf
Expand Down
3 changes: 2 additions & 1 deletion packages/rum-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"license": "MIT",
"publishConfig": {
"access": "public",
"directory": "dist"
"directory": "dist",
"provenance": true
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/rum-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"source": "src/index.js",
"sideEffects": false,
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/rum-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"node": ">=8.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/rum-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"script": "node ../../dev-utils/run-script.js"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/rum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"directory": "packages/rum"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"scripts": {
"prepublishOnly": "npm run build",
Expand Down
Loading