Skip to content

Commit

Permalink
chore: bump @npmcli/template-oss from 3.2.2 to 3.4.1 (#160)
Browse files Browse the repository at this point in the history
* chore: bump @npmcli/template-oss from 3.2.2 to 3.4.1

Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 3.2.2 to 3.4.1.
- [Release notes](https://github.com/npm/template-oss/releases)
- [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
- [Commits](npm/template-oss@v3.2.2...v3.4.1)

---
updated-dependencies:
- dependency-name: "@npmcli/template-oss"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: postinstall for dependabot template-oss PR

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Karrys <luke@lukekarrys.com>
  • Loading branch information
dependabot[bot] and lukekarrys committed Apr 20, 2022
1 parent e24ffef commit 05b02ac
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/audit.yml
Expand Up @@ -15,13 +15,13 @@ jobs:
- uses: actions/checkout@v3
- name: Setup git user
run: |
git config --global user.email "ops+npm-cli@npmjs.com"
git config --global user.name "npm cli ops bot"
git config --global user.email "npm team"
git config --global user.name "ops+robot@npmjs.com"
- uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
- run: npm i --ignore-scripts --package-lock
- run: npm i --ignore-scripts --no-audit --no-fund --package-lock
- run: npm audit
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -22,15 +22,15 @@ jobs:
- uses: actions/checkout@v3
- name: Setup git user
run: |
git config --global user.email "ops+npm-cli@npmjs.com"
git config --global user.name "npm cli ops bot"
git config --global user.email "npm team"
git config --global user.name "ops+robot@npmjs.com"
- uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
- run: npm i --ignore-scripts
- run: npm i --ignore-scripts --no-audit --no-fund
- run: npm run lint

test:
Expand Down Expand Up @@ -59,8 +59,8 @@ jobs:
- uses: actions/checkout@v3
- name: Setup git user
run: |
git config --global user.email "ops+npm-cli@npmjs.com"
git config --global user.name "npm cli ops bot"
git config --global user.email "npm team"
git config --global user.name "ops+robot@npmjs.com"
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
Expand All @@ -82,5 +82,5 @@ jobs:
if: ${{ !startsWith(matrix.node-version, '10.') }}
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
- run: npm i --ignore-scripts
- run: npm i --ignore-scripts --no-audit --no-fund
- run: npm test --ignore-scripts
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -34,8 +34,8 @@ jobs:
- uses: actions/checkout@v3
- name: Setup git user
run: |
git config --global user.email "ops+npm-cli@npmjs.com"
git config --global user.name "npm cli ops bot"
git config --global user.email "npm team"
git config --global user.name "ops+robot@npmjs.com"
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/post-dependabot.yml
Expand Up @@ -4,21 +4,20 @@ name: Post Dependabot Actions

on: pull_request

# https://docs.github.com/en/rest/overview/permissions-required-for-github-apps
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: write
contents: write

jobs:
Install:
template-oss-apply:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- name: Setup git user
run: |
git config --global user.email "ops+npm-cli@npmjs.com"
git config --global user.name "npm cli ops bot"
git config --global user.email "npm team"
git config --global user.name "ops+robot@npmjs.com"
- uses: actions/setup-node@v3
with:
node-version: 16.x
Expand All @@ -36,7 +35,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr checkout ${{ github.event.pull_request.number }}
npm install --ignore-scripts
npm install --ignore-scripts --no-audit --no-fund
npm run template-oss-apply
git add .
git commit -am "chore: postinstall for dependabot template-oss PR"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Expand Up @@ -20,8 +20,8 @@ jobs:
fetch-depth: 0
- name: Setup git user
run: |
git config --global user.email "ops+npm-cli@npmjs.com"
git config --global user.name "npm cli ops bot"
git config --global user.email "npm team"
git config --global user.name "ops+robot@npmjs.com"
- uses: actions/setup-node@v3
with:
node-version: 16.x
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.2.2",
"@npmcli/template-oss": "3.4.1",
"tap": "^16.0.1"
},
"license": "ISC",
Expand All @@ -36,6 +36,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.2.2"
"version": "3.4.1"
}
}

0 comments on commit 05b02ac

Please sign in to comment.