diff --git a/.github/workflows/serverless-workflow.yml b/.github/workflows/serverless-workflow.yml index df6c6fb..73c8020 100644 --- a/.github/workflows/serverless-workflow.yml +++ b/.github/workflows/serverless-workflow.yml @@ -18,6 +18,7 @@ jobs: with: node-version: 16 - run: npm install + - run: npm run sls:package ## list all files and folders - run: ls -la - run: npm run sls:deploy diff --git a/package.json b/package.json index b5daffa..50c9c2c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "sls:deploy": "sls deploy --verbose", "sls:offline": "sls offline", - "sls:package": "sls package --verbose", + "sls:package": "sls package --package build --verbose", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage",