Fix low likelyhood state corruption in itertools #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| jslint: | |
| name: Eslint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| - run: npm i -g pnpm | |
| - run: pnpm i | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| - run: pnpm i eslint eslint-plugin-node | |
| - run: pnpm run lint | |
| lualint: | |
| name: Luacheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: Danielv123/actions-luacheck@patch-1 | |
| with: | |
| files: module/ | |
| annotate: "error" | |
| publish: | |
| needs: [jslint, lualint] | |
| name: "Publish to npm" | |
| runs-on: ubuntu-latest | |
| if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v') | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| - run: npm i -g pnpm | |
| - run: pnpm i | |
| - run: pnpm publish --access public --no-git-checks | |
| env: | |
| NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |