This repository has been archived by the owner on May 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump @npmcli/template-oss from 3.2.0 to 3.4.1 (#110)
* chore: bump @npmcli/template-oss from 3.2.0 to 3.4.1 Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 3.2.0 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.0...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] <[email protected]> * chore: postinstall for dependabot template-oss PR Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Karrys <[email protected]>
- Loading branch information
1 parent
2ee3207
commit ca78ea6
Showing
7 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,13 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.email "ops+npm[email protected]" | ||
git config --global user.name "npm cli ops bot" | ||
git config --global user.email "npm team" | ||
git config --global user.name "ops[email protected]" | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,15 +22,15 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.email "ops+npm[email protected]" | ||
git config --global user.name "npm cli ops bot" | ||
git config --global user.email "npm team" | ||
git config --global user.name "ops[email protected]" | ||
- 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: | ||
|
@@ -59,8 +59,8 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.email "ops+npm[email protected]" | ||
git config --global user.name "npm cli ops bot" | ||
git config --global user.email "npm team" | ||
git config --global user.name "ops[email protected]" | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,8 +34,8 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.email "ops+npm[email protected]" | ||
git config --global user.name "npm cli ops bot" | ||
git config --global user.email "npm team" | ||
git config --global user.name "ops[email protected]" | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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[email protected]" | ||
git config --global user.name "npm cli ops bot" | ||
git config --global user.email "npm team" | ||
git config --global user.name "ops[email protected]" | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
|
@@ -36,8 +35,9 @@ 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" | ||
git push | ||
npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,8 @@ jobs: | |
fetch-depth: 0 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.email "ops+npm[email protected]" | ||
git config --global user.name "npm cli ops bot" | ||
git config --global user.email "npm team" | ||
git config --global user.name "ops[email protected]" | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters