diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 65101829..48da4b53 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -7,13 +7,13 @@ on: jobs: publish-npm: + strategy: + matrix: + version: ['lts/*'] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18.16.1 - registry-url: https://registry.npmjs.org/ + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 - run: npm ci - run: npm run build - run: npm publish