Skip to content

Commit

Permalink
build(npm): update npm deps, node to 20
Browse files Browse the repository at this point in the history
BREAKING CHANGE: node

re #63
  • Loading branch information
mlg87 committed May 11, 2024
1 parent efa16c4 commit b170fd2
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 53 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0 # gives semantic-release access to all previous commits
token: ${{ secrets.GH_TOKEN }} # admin token
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -28,33 +28,17 @@ jobs:
${{ runner.OS }}-${{ env.cache-name }}-
${{ runner.OS }}-
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16.15.0
node-version: 20.13.1
- name: Install dependencies
run: yarn
# - name: Compile TS => JS
# run: yarn build
- name: Package code
run: yarn package
# - name: Bundle code
# uses: tool3/ncc@master
# with:
# github_token: ${{ secrets.GH_TOKEN }}
# src: 'src/index.ts'
# branch: 'main'
# ncc_args: '--source-map, --license, licenses.txt'
# - name: Upload artifact
# uses: actions/upload-artifact@v3
# with:
# name: dist
# path: dist/
- name: Commit dist
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Commiting for release'
message: "Commiting for release"
- name: Cut release
run: yarn release
# white space

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
20.13.1
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"author": "Mason Goetz <masonlgoetz@gmail.com>",
"dependencies": {
"@actions/core": "^1.8.0",
"@actions/github": "^5.0.1",
"@aws-sdk/client-s3": "^3.58.0",
"@slack/web-api": "^6.7.1",
"date-fns": "^2.28.0",
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@aws-sdk/client-s3": "^3.574.0",
"@slack/web-api": "^7.0.4",
"date-fns": "^3.6.0",
"memory-cache": "^0.2.0",
"node-fetch": "^2.6.7",
"winston": "^3.7.2"
"node-fetch": "^3.3.2",
"winston": "^3.13.0"
},
"description": "Notify requested PR reviewers via slack so they actually know that you want them to look at something because people don't check email.",
"devDependencies": {
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^12.0.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@semantic-release/npm": "^9.0.1",
"@types/memory-cache": "^0.2.2",
"@types/node": "^16.10.5",
"@types/node-fetch": "^2.6.1",
"@typescript-eslint/parser": "^5.8.1",
"@vercel/ncc": "^0.31.1",
"commitizen": "^4.2.3",
"conventional-changelog-conventionalcommits": "^4.6.3",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.2.5",
"@semantic-release/github": "^10.0.3",
"@semantic-release/npm": "^12.0.1",
"@types/memory-cache": "^0.2.5",
"@types/node": "^20.12.11",
"@types/node-fetch": "^2.6.11",
"@typescript-eslint/parser": "^7.8.0",
"@vercel/ncc": "^0.38.1",
"commitizen": "^4.3.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
"lint-staged": "^12.4.1",
"prettier": "^2.5.1",
"semantic-release": "^19.0.2",
"ts-jest": "^27.1.2",
"typescript": "^4.4.4"
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"semantic-release": "^23.1.1",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
},
"license": "MIT",
"lint-staged": {
Expand Down

0 comments on commit b170fd2

Please sign in to comment.