Skip to content

Commit

Permalink
Updated dependencies and pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Oct 14, 2023
1 parent 092005d commit a3ad855
Show file tree
Hide file tree
Showing 8 changed files with 660 additions and 154 deletions.
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
groups:
all:
patterns:
- "*"
exclude-patterns:
- "node-fetch"
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
groups:
all:
patterns:
- "*"
2 changes: 1 addition & 1 deletion .github/workflows/create-indexes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout Repository
- name: 📦 Checkout Repository
uses: actions/checkout@v3

# Runs a single command using the runners shell
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: Dependabot auto-merge
on: pull_request_target
on: pull_request

permissions:
pull-requests: write
contents: write

concurrency:
group: dependabot-check
cancel-in-progress: false
pull-requests: write

jobs:
dependabot:
name: Dependabot auto merge
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ jobs:
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- name: Checkout Repository
- name: 📦 Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js Environment
- name: 🏗️ Setup Node.js Environment
uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: package-lock.json
node-version-file: .nvmrc

- name: Setup project
- name: 🏗️ Setup project
run: npm ci

- name: 📋 Run Tests
Expand All @@ -41,17 +41,17 @@ jobs:
runs-on: ubuntu-latest
name: 🚚 Npm Publish
steps:
- name: Checkout Repository
- name: 📦 Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js Environment
- name: 🏗️ Setup Node.js Environment
uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: package-lock.json
node-version-file: .nvmrc

- name: Setup Project
- name: 🏗️ Setup project
run: npm ci

- name: 🚚 Npm Publish
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ jobs:
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- name: Checkout Repository
- name: 📦 Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js Environment
- name: 🏗️ Setup Node.js Environment
uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: package-lock.json
node-version-file: .nvmrc

- name: Setup project
- name: 🏗️ Setup project
run: npm ci

- name: 📋 Run Tests
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18
Loading

0 comments on commit a3ad855

Please sign in to comment.