Skip to content

build(deps): bump semver-regex from 2.0.0 to 3.1.4 #68

build(deps): bump semver-regex from 2.0.0 to 3.1.4

build(deps): bump semver-regex from 2.0.0 to 3.1.4 #68

Workflow file for this run

name: build
on:
push:
branches:
- '*'
- '!release-*'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
create-release:
runs-on: ubuntu-latest
steps:
- id: release
uses: GoogleCloudPlatform/release-please-action@v1.5.0
with:
token: ${{secrets.GITHUB_TOKEN}}
release-type: node
package-name: ace-custom-element
# push to npm if release-please created a release
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: https://registry.npmjs.org/
if: ${{ steps.release.outputs.release_created }}
- run: npm install
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}