Merge pull request #139 from ucsc/bugfix/validation_for_deptdiv_on_au… #5
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/setup-node@v3.3.0 | |
with: | |
node-version: 17 | |
cache: 'npm' | |
- name: Install Node dependencies | |
run: npm install | |
- name: Build the plugin | |
run: npm run build | |
- name: Package the plugin | |
run: ./node_modules/.bin/wp-scripts plugin-zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ucsc-gutenberg-blocks.zip | |
generate_release_notes: true |