Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Bump semver from 5.7.1 to 5.7.2 (#857) #205

Bump semver from 5.7.1 to 5.7.2 (#857)

Bump semver from 5.7.1 to 5.7.2 (#857) #205

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
jobs:
build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cancel Workflow Action
uses: styfle/cancel-workflow-action@0.10.1
with:
access_token: ${{ github.token }}
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Use Node.js ${{ steps.nvm.outputs.NVMRC }}
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
cache: 'yarn'
- name: Run yarn tasks
run: |
yarn install --frozen-lockfile
- name: Publish NPM package
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}