Merge pull request #840 from hippietrail/gotten-rid-off #64
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: Package WordPress Plugin | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
- name: Install `pandoc` | |
run: sudo apt-get update && sudo apt-get install pandoc -y | |
- name: Install `wasm-pack` | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Precommit | |
run: just build-wp | |
- name: Upload extension | |
uses: actions/upload-artifact@v4 | |
with: | |
name: harper.zip | |
path: "packages/wordpress-plugin/harper.zip" |