diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 05cc8db..71da544 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,9 +14,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js 22.x - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 22.x cache: 'npm' @@ -27,11 +27,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 50d96ce..fd37269 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,14 +11,14 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 20.x + node-version: 22.x registry-url: 'https://registry.npmjs.org' + # Ensure npm 11.5.1 or later is installed + - run: npm install -g npm@latest - run: npm ci - run: npm run dist - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index 2cbd2f4..9793299 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,6 @@ [ ![ci status](https://github.com/EvanK/npm-serialize-function/actions/workflows/ci.yaml/badge.svg) ](https://github.com/EvanK/npm-serialize-function/actions/workflows/ci.yaml) -[ - ![npm](https://img.shields.io/badge/NPM-v1.0.1-orange) -](https://www.npmjs.com/package/serialize-function) [ ![node.js supported as of v20](https://img.shields.io/badge/Node.js-v20-yellow) ](https://nodejs.org/docs/latest-v20.x/api/) @@ -13,6 +10,11 @@ ![ECMAScript standard supported as of ES2023](https://img.shields.io/badge/ES-2023-green) ](https://compat-table.github.io/compat-table/es2016plus/) +[ + ![npm](https://nodei.co/npm/serialize-function.png) +](https://www.npmjs.com/package/serialize-function) + + ## Quickstart Supports both CommonJS and ES Modules: diff --git a/package-lock.json b/package-lock.json index 75e8e7b..8823447 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5828,9 +5828,9 @@ } }, "node_modules/tar-fs": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz", - "integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz", + "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==", "dev": true, "license": "MIT", "dependencies": {