Skip to content

Merge pull request #2 from khilkovetsmykhailo/hotfix/strategy #6

Merge pull request #2 from khilkovetsmykhailo/hotfix/strategy

Merge pull request #2 from khilkovetsmykhailo/hotfix/strategy #6

Workflow file for this run

name: Release npm package
on:
push:
branches:
- 'main'
jobs:
release:
name: test build and release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci
- run: npm test
- run: npm run build
- name: semantic release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}