Skip to content

Update package.json #22

Update package.json

Update package.json #22

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- master
jobs:
build-and-publish:
runs-on: ubuntu-latest
env:
NPM_DIFUKS_TOKEN: ${{ secrets.NPM_DIFUKS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.PERSONAL_TOKEN }}
fetch-depth: 0
- name: Cache yarn
uses: actions/cache@v3
with:
path: |
.yarn/cache
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ github.sha }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install modules
run: yarn install
- name: Build libs
run: yarn build
- name: Eslint
run: yarn lint
- name: Check packages versions
run: yarn version check
- name: Apply versions
run: yarn version apply
- name: Publish package
run: yarn npm publish --tolerate-republish
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: |
ci: Release packages
[skip ci]