Skip to content

Merge pull request #65 from emkis/dependabot/npm_and_yarn/micromatch-… #84

Merge pull request #65 from emkis/dependabot/npm_and_yarn/micromatch-…

Merge pull request #65 from emkis/dependabot/npm_and_yarn/micromatch-… #84

Workflow file for this run

name: Release package on NPM
on:
push:
branches:
- main
- beta
jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.15.0]
steps:
- name: Checkout to branch
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Produce declaration files
run: yarn api-report
- name: Prepare to publish
run: yarn prepare:publish
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release