[#5894] Remove "edit this page" from template #128
This file contains hidden or 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: ci | |
on: | |
push: | |
branches: | |
- 'main' | |
release: | |
types: [published] | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
cache: npm | |
- run: | | |
npm install | |
node_modules/.bin/gulp lint | |
bundle-stable: | |
if: ${{ github.event_name == 'release' }} | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
cache: npm | |
- run: | | |
npm install | |
node_modules/.bin/gulp bundle | |
- uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
README.md | |
build/ui-bundle.zip | |
bundle-dev: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
cache: npm | |
- run: | | |
npm install | |
node_modules/.bin/gulp bundle | |
- uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: dev | |
prerelease: true | |
files: | | |
README.md | |
build/ui-bundle.zip | |
... |