Skip to content

Commit

Permalink
fix: refactor impl and update deps (#167)
Browse files Browse the repository at this point in the history
* Partial fix for tests
* Update deps to reduce security advisory warnings
  • Loading branch information
ayushmanchhabra authored Jun 9, 2024
1 parent d954ef6 commit daa2436
Show file tree
Hide file tree
Showing 15 changed files with 569 additions and 1,547 deletions.
15 changes: 2 additions & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "./app"
schedule:
interval: "weekly"
day: "saturday"
groups:
npm:
patterns:
- "*"
- package-ecosystem: "npm"
directory: "."
schedule:
interval: "weekly"
day: "saturday"
interval: "daily"
groups:
npm:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: ".github/"
schedule:
interval: "weekly"
day: "saturday"
interval: "daily"
groups:
gha:
patterns:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cd
on:
push:
branches:
- master
- main

jobs:
release:
Expand All @@ -11,10 +11,9 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: "18"
node-version: 20

- run: npm ci
- run: npm run deps
- uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: ci
on:
pull_request:
branches:
- master
- main
workflow_dispatch:
branches:
- master
- main

concurrency:
group: ${{ github.ref }}
Expand All @@ -15,14 +15,13 @@ jobs:
test:
strategy:
matrix:
os: [macos-12, ubuntu-22.04, windows-2022]
os: [macos-14, ubuntu-22.04, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run deps
- run: npm run test
- run: npm t
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

12 changes: 0 additions & 12 deletions CONTRIBUTING.md

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 NW.js Utils
Copyright (c) 2014 Eldar Djafarov

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
Loading

0 comments on commit daa2436

Please sign in to comment.