Skip to content

Commit

Permalink
Updaating dependencies and pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Oct 14, 2023
1 parent 0f09014 commit e0f9cf9
Show file tree
Hide file tree
Showing 6 changed files with 640 additions and 159 deletions.
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 e0f9cf9

Please sign in to comment.