v2026.7.30 - jslint-ecma - Add ES2015-feature for..of. #27
Workflow file for this run
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
| # base - .github/workflows/publish.yml - beg | |
| # Publishing packages to npm and GitHub Packages | |
| # https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-npm-and-github-packages | |
| # https://docs.npmjs.com/trusted-publishers#step-2-configure-your-cicd-workflow | |
| name: publish | |
| on: | |
| release: | |
| types: [created] | |
| workflow_dispatch: | |
| jobs: | |
| publish_github: | |
| name: Publish Package to GitHub | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| registry-url: "https://npm.pkg.github.com" | |
| # Defaults to the user or organization that owns the workflow file | |
| # scope: "@octocat" | |
| # Publish to GitHub Packages | |
| - run: sh jslint_ci.sh shCiPublishNpm | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_REGISTRY: github | |
| publish_npmjs: | |
| name: Publish Package to npmjs | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write # Required for OIDC | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| registry-url: "https://registry.npmjs.org" | |
| # Publish to npmjs Packages | |
| - run: sh jslint_ci.sh shCiPublishNpm | |
| # base - .github/workflows/publish.yml - end |