diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index cb9a39f7..36d2957c 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -11,10 +11,12 @@ jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 'lts/*' + cache: 'npm' + cache-dependency-path: '**/package-lock.json' registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish --access public