.github/workflows/release.yml
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install
run: yarn install --immutable
- name: Install
run: yarn packasso install
- name: Build
run: yarn packasso build
- name: Test
run: yarn packasso test
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_USER: 'qiwibot'
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_AUTHOR_EMAIL: 'opensource@qiwi.com'
GIT_COMMITTER_EMAIL: 'opensource@qiwi.com'
GIT_AUTHOR_NAME: 'QIWI Bot'
GIT_COMMITTER_NAME: 'QIWI Bot'
YARN_ENABLE_IMMUTABLE_INSTALLS: false
run: yarn packasso release