Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#243) #149

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#243)

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#243) #149

Workflow file for this run

name: push-release
on:
push:
branches:
- master
jobs:
build_pub_binaries:
name: Publish binaries for supported environments for release
if: "contains(github.event.head_commit.message, 'chore(release): publish')"
timeout-minutes: 30
runs-on: ${{matrix.os}}
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
os: [macos-latest, ubuntu-latest] # not include windows due to node-gyp bug
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- run: yarn publish:binary
shell: bash
env:
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build_test_publish:
name: Build, test, and publish release
if: "contains(github.event.head_commit.message, 'chore(release): publish')"
needs: build_pub_binaries
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- run: pip install setuptools
- run: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc 2> /dev/null
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
- run: git config user.name "Mattr CI"
- run: git config user.email "npmjs_ci_mattr_public@mattr.global"
- run: yarn publish:ts