Skip to content

Commit 9607e34

Browse files
committed
Fix linter running errors
Summary: Test Plan:
1 parent b621873 commit 9607e34

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/npm.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "v*"
88
permissions:
99
id-token: write # Required for OIDC NPMJS publishing
10-
contents: read
10+
contents: write
1111

1212
jobs:
1313
build:
@@ -33,13 +33,15 @@ jobs:
3333
- name: PIP Install
3434
run: |
3535
pip3 install awscli --upgrade --user
36-
- name: NVM Install
37-
run: |
38-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
39-
. $HOME/.nvm/nvm.sh
40-
nvm install
36+
- name: Setup NodeJS
37+
uses: actions/setup-node@v6
38+
with:
39+
node-version-file: .nvmrc
40+
registry-url: "https://registry.npmjs.org"
4141
- name: NPM Install
42-
run: npm ci
42+
run: |
43+
npm install --global npm@latest
44+
npm ci
4345
- name: Build and Test
4446
run: npm run build-and-test
4547
- name: Release

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"files": [
88
"dist/layer.zip"
99
],
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/quittle/s3-upload-custom-resource-lambda-layer.git"
13+
},
1014
"scripts": {
1115
"build": "webpack",
1216
"test": "npm run unit-test && npm run integration-test",

0 commit comments

Comments
 (0)