Skip to content

v6.1.0: Configuration changes, Sweep.ai usage for small issues #6

v6.1.0: Configuration changes, Sweep.ai usage for small issues

v6.1.0: Configuration changes, Sweep.ai usage for small issues #6

Workflow file for this run

name: Publish to NPM
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org
- name: Check node_modules cache
uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Version
run: yarn version --new-version "${GITHUB_REF:11}" --no-git-tag-version
- name: Publish
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}