From 39a0b29553c70363f2dbc9bf432eaec9bc3ea8b3 Mon Sep 17 00:00:00 2001 From: ndungutsecharles103 Date: Tue, 1 Aug 2023 15:31:49 +0200 Subject: [PATCH] fix: deployment + move to actionsv3 --- .github/workflows/npm-publish.yml | 4 ++-- example/.gitignore | 2 ++ example/src/components/NavBar.tsx | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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();