Skip to content

Bump semver-regex from 3.1.3 to 3.1.4 #24

Bump semver-regex from 3.1.3 to 3.1.4

Bump semver-regex from 3.1.3 to 3.1.4 #24

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Test
run: yarn test
release:
name: Release
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
needs: [ build ]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release