Skip to content

Commit

Permalink
chore: Removed package-lock.json (#2208)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed May 23, 2024
1 parent fcb285a commit b267695
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 17,307 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Linting
run: npm run lint
- name: Inspect Lockfile
Expand All @@ -84,7 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run CI Script Unit Tests
run: npm run unit:scripts

Expand All @@ -108,7 +108,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Unit Tests
run: npm run unit
- name: Archive Unit Test Coverage
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Docker Services
run: npm run services
- name: Run Integration Tests
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Docker Services
run: npm run services
- name: Run Versioned Tests
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Versioned Tests
run: TEST_CHILD_TIMEOUT=600000 npm run versioned:external
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
node-version: lts/*
- name: Install Dependencies
run: npm ci
run: npm install
- name: Check for PRs not yet released
run: node ./bin/pending-prs.js --repos $NR_REPOS --ignore-labels $IGNORE_LABELS
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Setup GitHub Credentials
run: |
git config user.name $GITHUB_ACTOR
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prep-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: NEWS.md
changelog_json:
description: Whether or not it should generate a changelog.json (should only be for node-newrelic)
type: boolean
type: boolean
required: false

jobs:
Expand All @@ -41,7 +41,7 @@ jobs:
node-version: ${{ matrix.node-version }}
# Only need to install deps in agent-repo because of the bin scripts
- name: Install Dependencies
run: npm ci --prefix agent-repo
run: npm install --prefix agent-repo
- name: Setup GitHub Credentials
run: |
git config user.name $GITHUB_ACTOR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
run: npm ci
run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AGENT_NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
- name: Install Dependencies
run: |
# Install deps in caller repo
npm ci
npm install
# Install deps in agent repo
npm ci --prefix agent-repo
npm install --prefix agent-repo
- name: Setup GitHub Credentials
run: |
git config user.name $GITHUB_ACTOR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Smoke Tests
run: npm run smoke
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-snyk-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.event.sender.login == 'snyk-bot' }}
if: ${{ github.event.sender.login == 'snyk-bot' }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install Dependencies
run: npm ci
run: npm install
- name: Update Snyk PR Title
run: node ./bin/update-snyk-pr.js'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/versioned-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Docker Services
run: npm run services
- name: Run Legacy Context Versioned Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/versioned-security-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Install Version ${{ inputs.version }} of security agent
if: ${{ inputs.version }}
run: npm install @newrelic/security-agent@${{ inputs.version }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package-lock.json
node_modules
newrelic_agent.log
.coverage_data
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
Loading

0 comments on commit b267695

Please sign in to comment.