Skip to content

Commit

Permalink
update node engines (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
atlowChemi authored Feb 22, 2024
1 parent 804c3e3 commit 695f5d9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
needs: [packages, build]
strategy:
matrix:
node_version: [16.x, 18.x, 20.x]
node_version: [18.x, 20.x, 21.x]
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -23,6 +26,6 @@ jobs:
- name: build
run: npm run build
- name: deploy
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# vite-svg-2-webfont

[![npm](https://img.shields.io/npm/v/vite-svg-2-webfont.svg?style=flat-square)](https://www.npmjs.com/package/vite-svg-2-webfont)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/atlowChemi/vite-svg-2-webfont/main.yaml?branch=main&style=flat-square)
[![npm](https://img.shields.io/npm/dm/vite-svg-2-webfont.svg?style=flat-square)](https://www.npmjs.com/package/vite-svg-2-webfont)
[![license](https://img.shields.io/github/license/ChemiAtlow/vite-svg-2-webfont.svg?style=flat-square)](https://github.com/ChemiAtlow/vite-svg-2-webfont/blob/master/LICENSE)
[![license](https://img.shields.io/github/license/atlowChemi/vite-svg-2-webfont.svg?style=flat-square)](https://github.com/atlowChemi/vite-svg-2-webfont/blob/master/LICENSE)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/vite-svg-2-webfont?style=flat-square)](https://img.shields.io/bundlephobia/minzip/vite-svg-2-webfont?style=flat-square)
[![node engine](https://img.shields.io/node/v/vite-svg-2-webfont?style=flat-square)](https://img.shields.io/node/v/vite-svg-2-webfont?style=flat-square)
[![Package Quality](https://packagequality.com/shield/vite-svg-2-webfont.svg)](https://packagequality.com/#?package=vite-svg-2-webfont)

A Vite Plugin that generates fonts from your SVG icons and allows you to use your icons in your HTML.

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dist"
],
"engines": {
"node": ">=16.0.0"
"node": "^18 || >=20"
},
"scripts": {
"dev": "tsup --watch",
Expand Down

0 comments on commit 695f5d9

Please sign in to comment.