1.1.24 #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
environment: release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.release.target_commitish }} | |
- name: Using Node.js v14 | |
uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
registry-url: https://registry.npmjs.org/ | |
- name: Install dependencies | |
run: yarn --frozen-lockfile --no-progress | |
- name: Set git author name | |
run: git config --global user.name "Sergei Zharinov" | |
- name: Set git author email | |
run: git config --global user.email "sergio.zharinov@gmail.com" | |
- name: Build | |
run: yarn -s build | |
- name: Test | |
run: yarn -s test | |
- name: Publish | |
run: yarn publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |