release.yml
This file
Path
.github/workflows/release.yml
27 lines · 707 bytes · YAML
Last changed by
fix: release missing dist/ folderMichel Weststratebefore adoptionbfb8dec
History of this fileTake it
12345678910111213141516171819202122232425262728# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Release
on: push: branches: - master
jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: 14 - name: install run: yarn - name: build run: yarn build - name: publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: yarn semantic-release