diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc5e152a..2aaea7fe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,9 @@ on: jobs: deploy: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20] permissions: pages: write id-token: write @@ -14,16 +17,22 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 with: - fetch-depth: 0 - - uses: actions/setup-node@v3 + version: 9 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 with: - node-version: 16 - cache: npm - - run: npm ci + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install - name: Build - run: npm run docs:build + run: pnpm build + - name: Build app + run: pnpm --filter docs build - uses: actions/configure-pages@v2 - uses: actions/upload-pages-artifact@v1 with: diff --git a/.gitignore b/.gitignore index 6350ab28..57dbf6c4 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,9 @@ coverage /cypress/videos/ /cypress/screenshots/ -docs/.vitepress/cache +# vitepress +.temp +cache Icon** @@ -29,4 +31,4 @@ Icon** *.ntvs* *.njsproj *.sln -*.sw? +*.sw? \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..e9e01050 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +registry=https://registry.npmjs.org/ +ignore-workspace-root-check=true +include-workspace-root=true \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 6a558994..4f7253fc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,7 @@ { "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "cSpell.words": [ "dropdown", @@ -16,4 +16,4 @@ "tabindex", "typeof" ] -} +} \ No newline at end of file diff --git a/README.md b/README.md index ebc460b8..1596fb06 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,6 @@ International Telephone Input with Vue. [](https://www.npmjs.com/package/vue-tel-input) [](https://github.com/iamstevendao/vue-tel-input) -
-
-