diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..c846615 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: / + schedule: + interval: "daily" + allow: + - dependency-type: direct + - package-ecosystem: "github-actions" + directory: / + schedule: + interval: "daily" diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e300e89..0a178d4 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,6 +26,6 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci env: - NODE_AUTH_TOKEN: ${{ secrets.GH_NPM_RO_AUTH_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - run: npm run build --if-present - run: npm test diff --git a/.github/workflows/sls-deploy.yml b/.github/workflows/sls-deploy.yml index f2f49ba..5736395 100644 --- a/.github/workflows/sls-deploy.yml +++ b/.github/workflows/sls-deploy.yml @@ -14,7 +14,7 @@ jobs: node-version: 16 - run: npm ci env: - NODE_AUTH_TOKEN: ${{ secrets.GH_NPM_RO_AUTH_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - name: Serverless AWS Authentication run: npx sls config credentials --provider aws --key ${{ secrets.AWS_DEPLOY_KEY }} --secret ${{ secrets.AWS_SECRET_DEPLOY_KEY }} - name: Build App