Skip to content

Commit b70963d

Browse files
committed
config: Install Serverless
1 parent e6dfb66 commit b70963d

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.github/workflows/CD.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ jobs:
2020
with:
2121
creds: ${{ secrets.AZURE_CREDENTIALS }}
2222

23-
# - uses: actions/setup-node@v1
24-
# with:
25-
# node-version: ${{ matrix.node-version }}
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- name: Install Serverless
28+
run: npm install
29+
2630

2731

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ help: Makefile
22
@sed -n 's/^## //p' $<
33

44
## npm-install-functions -> Added dependencies in case that the functions need, add manually the command and Makefile
5-
deploy-nodejs-functions:
6-
cd nodejs-functions ; pwd ; $(MAKE) functions-with-dependencies
5+
install-dependencies-nodejs:
6+
cd nodejs-functions ; pwd ; $(MAKE) install-dependencies-nodejs
77

8+
deploy-nodejs:
9+
cd nodejs-functions ; pwd ; $(MAKE) deploy

nodejs-functions/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ help: Makefile
22
@sed -n 's/^## //p' $<
33

44
## npm-install-functions -> Added dependencies in case that the functions need, add manually the command and Makefile
5-
functions-with-dependencies:
5+
install-dependencies-nodejs:
66
cd src/handlers/automatic-clock-outs ; pwd ; $(MAKE) install
77

8+
deploy:
9+
sls deploy

0 commit comments

Comments
 (0)