v2024.6.28 - Fix coverage-function v8CoverageReportCreate() throwing error EINVAL in latest nodejs-security-patch, when running win32-coverage with npm.cmd. #19
Workflow file for this run
This file contains 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 | |
name: publish | |
on: | |
release: | |
types: [created] | |
workflow_dispatch: | |
jobs: | |
job1: | |
strategy: | |
matrix: | |
architecture: | |
# - arm64 | |
- x64 | |
# - x86 | |
node_version: | |
- 20 | |
# - 22 | |
os: | |
# - macos-latest | |
- ubuntu-latest | |
# - windows-latest | |
name: > | |
job1 | |
node | |
v${{ matrix.node_version }} | |
${{ matrix.architecture }} | |
${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
# Setup .npmrc file to publish to GitHub Packages | |
- run: rm -f /home/runner/work/_temp/.npmrc | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
architecture: ${{ matrix.architecture }} | |
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 | |
# Setup .npmrc file to publish to npm | |
- run: rm -f /home/runner/work/_temp/.npmrc | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
architecture: ${{ matrix.architecture }} | |
registry-url: 'https://registry.npmjs.org' | |
# Publish to npm | |
- run: sh jslint_ci.sh shCiPublishNpm | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_REGISTRY: npm | |
# base - .github/workflows/publish.yml - end |