Skip to content

Merge pull request #318 from vietredweb/block-js-fix #41

Merge pull request #318 from vietredweb/block-js-fix

Merge pull request #318 from vietredweb/block-js-fix #41

Workflow file for this run

name: 'release'
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: yarn install
- run: yarn run lint
- run: CI=false yarn run build
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade
ignore-scripts: false
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: 'dist/analytics.js'
generateReleaseNotes: true