npm build & version update #35
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
# Deploy to WP.org | |
name: Deploy to WordPress.org | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "14.x" | |
- name: Running NPM Install & Build For Gutenberg | |
run: | | |
npm install --quiet && npm run build | |
- name: Running NPM Install & Build for Admin Panel | |
run: | | |
cd includes/Admin/Settings && npm install --quiet && npm run prod && cd ../../.. | |
- name: WordPress Plugin Deploy | |
id: deploy | |
uses: 10up/action-wordpress-plugin-deploy@stable | |
env: | |
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} |