Add some sample data for tests #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- name: Make the production plugin bundle | |
run: | | |
release_version=$(cat package.json | jq -r '.version') | |
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV | |
yarn | |
yarn build | |
- name: Perform Github Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: v${{ env.RELEASE_VERSION }} | |
tag_name: v${{ env.RELEASE_VERSION }} | |
generate_release_notes: true | |
files: | | |
dist/*.tar.gz |