Skip to content

build(deps): bump semver from 5.7.1 to 5.7.2 #93

build(deps): bump semver from 5.7.1 to 5.7.2

build(deps): bump semver from 5.7.1 to 5.7.2 #93

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Node v${{ matrix.node-version }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node-version: [16, 18]
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node v${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build packages
run: yarn run build
- name: Test packages
run: yarn run test
publish:
name: Publish
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set credentials
run: |
git config user.name Carl Hamilton
git config user.email carlanthonyhamilton@gmail.com
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build packages
run: yarn run build
- name: Version Packages
run: yarn run version
- name: Publish packages
run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
npm whoami
npx lerna publish from-package --yes