diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 1ab2bd3..06a3722 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Setup NodeJS - uses: actions/setup-node@main + uses: actions/setup-node@v4 with: node-version: 'current' registry-url: 'https://registry.npmjs.org' @@ -34,7 +34,6 @@ jobs: run: npm run build - name: Publish package to NPM - run: pwd && ls -la && npm publish --access public - working-directory: /home/runner/work/eslint/eslint + run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} \ No newline at end of file