diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 68c8d28..7c7ffe3 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: '18.x' registry-url: 'https://registry.npmjs.org' diff --git a/example/.gitignore b/example/.gitignore index 8f322f0..cbfdcfd 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -33,3 +33,5 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +.vercel diff --git a/example/src/components/NavBar.tsx b/example/src/components/NavBar.tsx index 20e8f4d..e8b83c0 100644 --- a/example/src/components/NavBar.tsx +++ b/example/src/components/NavBar.tsx @@ -1,7 +1,8 @@ 'use client'; import React from 'react'; import Link from 'next/link'; -import { useRouter } from '../../../dist'; +// import { useRouter } from '../../../dist'; +import { useRouter } from 'next13-progressbar'; const NavBar = () => { const router = useRouter();