Skip to content

build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 #186

build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4

build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 #186

Workflow file for this run

name: CICD
on:
push:
branches:
- 'master'
pull_request:
jobs:
test:
name: Lint & test
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test
uses: cypress-io/github-action@v4
with:
build: npm run build
publish-package:
name: Publish Package to NPM
runs-on: ubuntu-18.04
needs: test
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release