chore(release): 0.1.10 #1
Workflow file for this run
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: Build and release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
- 'v*.*.*-rc.*' | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: 14 | |
cache: 'npm' | |
- name: Install Node dependencies | |
run: npm install | |
- name: Build theme | |
run: npm run build | |
- name: Package theme | |
run: ./node_modules/.bin/wp-scripts plugin-zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ucsc-content-blocks.zip | |
generate_release_notes: true |