Skip to content

[Snyk] Security upgrade cpy from 8.1.2 to 9.0.0 #175

[Snyk] Security upgrade cpy from 8.1.2 to 9.0.0

[Snyk] Security upgrade cpy from 8.1.2 to 9.0.0 #175

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node Version ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test Module
run: |
yarn --frozen-lockfile
yarn test
publish:
runs-on: ubuntu-latest
if: contains(github.ref, 'tag')
needs: test
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
- run: yarn
- run: yarn build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}