Skip to content

Commit

Permalink
update deps and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Aug 11, 2024
1 parent 086bda7 commit 24a8a49
Show file tree
Hide file tree
Showing 23 changed files with 9,940 additions and 15,296 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,25 @@ on: push
jobs:
test:
runs-on: ubuntu-20.04
name: Test on Node 16
name: Test on Node 20
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
# - uses: bahmutov/npm-install@v1
- run: npm install
- run: npm run build
- run: npm run compile
- run: npm run test
node-version: 20
cache: pnpm

- name: Upload coverage report on Node 16 to coveralls.io...
uses: coverallsapp/[email protected]
- run: pnpm install --no-frozen-lockfile
- run: pnpm build
- run: pnpm compile
- run: pnpm docs
- run: pnpm copy-compile
- run: pnpm test

- name: Upload coverage report on Node 20 to coveralls.io...
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
[![NPM Version](https://img.shields.io/npm/v/@thednp/navbar.svg)](https://www.npmjs.com/package/@thednp/navbar)
[![NPM Downloads](https://img.shields.io/npm/dm/@thednp/navbar.svg)](http://npm-stat.com/charts.html?package=@thednp/navbar)
[![jsDeliver](https://data.jsdelivr.com/v1/package/npm/@thednp/navbar/badge)](https://www.jsdelivr.com/package/npm/@thednp/navbar)
[![typescript version](https://img.shields.io/badge/typescript-5.3.2-brightgreen)](https://www.typescriptlang.org/)
[![cypress version](https://img.shields.io/badge/cypress-12.17.4-brightgreen)](https://www.cypress.io/)
[![eslint version](https://img.shields.io/badge/eslint-8.54.0-brightgreen)](https://github.com/eslint)
[![vite version](https://img.shields.io/badge/vite-4.5.0-brightgreen)](https://vitejs.dev/)
[![typescript version](https://img.shields.io/badge/typescript-5.5.4-brightgreen)](https://www.typescriptlang.org/)
[![cypress version](https://img.shields.io/badge/cypress-13.13.2-brightgreen)](https://www.cypress.io/)
[![eslint version](https://img.shields.io/badge/eslint-8.57.0-brightgreen)](https://github.com/eslint)
[![vite version](https://img.shields.io/badge/vite-5.4.0-brightgreen)](https://vitejs.dev/)
[![prettier version](https://img.shields.io/badge/prettier-2.8.8-brightgreen)](https://prettier.io/)

The mobile first menu navigation for today's modern web, sourced with Typescript and packed with lots of features.
Expand Down
4 changes: 2 additions & 2 deletions dist/css/navbar.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Navbar.js v3.2.5 (http://thednp.github.io/navbar)
* Copyright 2016-2023 © thednp
* Navbar.js v3.2.6 (https://thednp.github.io/navbar)
* Copyright 2016-2024 © thednp
* Licensed under MIT (https://github.com/thednp/navbar.js/blob/master/LICENSE)
*/
/* $color: text-color, $bg: bg-color, $inherit-bg: used when $bg is undefined/transparent */
Expand Down
2 changes: 1 addition & 1 deletion dist/css/navbar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/navbar.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/navbar.cjs.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/js/navbar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ declare const defaultNavbarOptions: {
toggleSiblings: boolean;
delay: number;
};
/** Creates a new Navbar for desktop and mobile navigation. */
declare class Navbar {
static selector: string;
static init: (element: string | HTMLElement) => Navbar;
static init: (element: HTMLElement | string) => Navbar;
static getInstance: (element: HTMLElement) => Navbar | null;
static version: string;
menu: HTMLElement;
Expand Down
Loading

0 comments on commit 24a8a49

Please sign in to comment.