Skip to content

Commit 38a3f6f

Browse files
author
Andrei Jiroh Eugenio Halili
committed
Re-added Dependabot config after an rebase
Also made an workflow for generating and updating lockfiles Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]>
1 parent 99d27e8 commit 38a3f6f

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
12+
reviewers:
13+
- AndreiJirohHaliliDev2006
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Generate Yarn lockfile
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
lockfile-generator:
8+
runs-on: ubutnu-latest
9+
env:
10+
RELEASES_GPG_PASSPHARSE: ${{ secrets.RELEASES_GPG_PASSPHARSE }}
11+
RELEASES_GPG_KEY: ${{ secrets.RELEASES_GPG_KEY }}
12+
steps:
13+
- run: actions/checkout@v2
14+
with:
15+
depth: 0
16+
token: ${{secrets.GH_SERVICE_ACCOUNT_API_KEY}}
17+
- uses: actions/setup-node@v2
18+
with:
19+
node-version: '14'
20+
- name: Setup Git
21+
run: curl -fsSL https://github.com/code-server-boilerplates/charts/raw/main/scripts/setup-ci | bash
22+
- name: Install Yarn
23+
run: npm i -g yarn
24+
- name: Setup Yarn Berry
25+
run: |
26+
[ ! -d .yarn/versions ] && yarn set version berry || [ -d .yarn/versions ] && [ $UPGRADE_LOCAL_YARNPKG_BINARY != "" ] && yarn set version latest
27+
- name: Run install CI
28+
run: yarn install
29+
- name: Commit changes
30+
run: |
31+
git commit -m "Updated Yarn lockfiles and stuff" --signoff
32+
git push origin HEAD:update-lockfiles

0 commit comments

Comments
 (0)