Skip to content

Commit

Permalink
Create npm-deps-upgrade.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptarshiSarkar12 committed Jun 23, 2023
1 parent 5a61bb5 commit 80cea11
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/npm-deps-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Upgrade npm packages
defaults:
run:
working-directory: "./Website"
on:
workflow_dispatch:

schedule:
- cron: "0 0 * * *"

jobs:
upgrade-packages:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'

- name: Upgrade Packages
run: |
npm install -g npm-check-updates
ncu -u
npm install
- name: Commit and push changes to the repository
run: |
git config user.name "GitHub Actions Bot"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -m "build(App): Built And Packaged Drifty for Windows"
git commit -m "build(App): Built And Packaged Drifty for Windows"
git push

1 comment on commit 80cea11

@vercel
Copy link

@vercel vercel bot commented on 80cea11 Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.