Skip to content
Myr

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 file

Take it

chore: semantic-release + GH actionsMichel Weststratebefore adoption38964fa

lines 1–9why, one step back
1# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages34name: Release56on:7 push:8 branches:9 - master

fix: release missing dist/ folderMichel Weststratebefore adoptionbfb8dec

line 10why, one step back
10

chore: semantic-release + GH actionsMichel Weststratebefore adoption38964fa

lines 11–20why, one step back
11jobs:
12 release:13 runs-on: ubuntu-latest14 steps:15 - uses: actions/checkout@v216 - uses: actions/setup-node@v217 with:18 node-version: 1419 - name: install20 run: yarn

fix: release missing dist/ folderMichel Weststratebefore adoptionbfb8dec

lines 21–22why, one step back
21 - name: build
22 run: yarn build

chore: semantic-release + GH actionsMichel Weststratebefore adoption38964fa

lines 23–27why, one step back
23 - name: publish
24 env:25 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}26 NPM_TOKEN: ${{ secrets.NPM_TOKEN }}27 run: yarn semantic-release