Merge pull request #2 from wpkitpro/develop #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: Create Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14 | |
- name: Install Dependencies | |
run: npm install | |
- name: Create Release | |
run: npm run release | |
- name: Push Tags | |
run: git push origin --tags | |
exclude-files: | |
runs-on: ubuntu-latest | |
needs: release | |
steps: | |
- name: Remove Unwanted Files | |
run: | | |
rm -f .editorconfig .eslintrc.js .gitattributes .gitignore .prettierrc README.md package.json webpack.mix.js yarn.lock |