Skip to content

Commit 54c41ba

Browse files
committed
fix: use temporarily serverless@^3 instead of v4 which require login
1 parent 2a14866 commit 54c41ba

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/auto-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
aws-region: ${{ env.AWS_REGION }}
3232
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
3333
- name: Install serverless
34-
run: npm install -g serverless
34+
run: npm install -g serverless@^3
3535
- name: Note docker image digest
3636
id: docker-image-digest
3737
run: |

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
aws-region: ${{ env.AWS_REGION }}
2323
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
2424
- name: Install Serverless Framework
25-
run: npm install -g serverless
25+
run: npm install -g serverless@^3
2626
- name: Wait for CloudFormation stack to be updated
2727
run: aws cloudformation wait stack-update-complete --stack-name="docker-selenium-lambda-prod" || true
2828
- name: Deploy

.github/workflows/demo-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
2828
- name: Demo README's instructions
2929
run: |
30-
npm install -g serverless
30+
npm install -g serverless@^3
3131
sls create --template-url "https://github.com/umihico/docker-selenium-lambda/tree/main" --path docker-selenium-lambda && cd $_
3232
sls deploy
3333
sls invoke --function demo |& tee /tmp/scraping-result.txt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This image goes with these versions. [These are automatically updated and tested
1515
## Running the demo
1616

1717
```bash
18-
$ npm install -g serverless # skip this line if you have already installed Serverless Framework
18+
$ npm install -g serverless@^3 # skip this line if you have already installed Serverless Framework
1919
$ export AWS_REGION=ap-northeast-1 # You can specify region or skip this line. us-east-1 will be used by default.
2020
$ sls create --template-url "https://github.com/umihico/docker-selenium-lambda/tree/main" --path docker-selenium-lambda && cd $_
2121
$ sls deploy

0 commit comments

Comments
 (0)