diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index 92edc28..60b1b4b 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -15,8 +15,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 20 - - run: npm ci - - run: npm lint + cache: 'yarn' + - run: yarn install + - run: yarn lint publish-gpr: needs: build @@ -30,8 +31,9 @@ jobs: with: node-version: 20 registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm prepack + cache: 'yarn' + - run: yarn install + - run: yarn run prepack - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 3c975a7..57bdeef 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,5 @@ "dist/**/*.js*", "dist/**/*.mjs*", "dist/**/*.d*" - ], - "packageManager": "yarn@3.2.4" + ] } \ No newline at end of file