mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-02 12:02:23 +00:00
Remove the Assets workflow
This commit is contained in:
parent
728aa902bb
commit
752606941f
1 changed files with 0 additions and 45 deletions
45
.github/workflows/assets.yml
vendored
45
.github/workflows/assets.yml
vendored
|
@ -1,45 +0,0 @@
|
||||||
name: "Assets"
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- "2.**"
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
js:
|
|
||||||
name: "Building assets"
|
|
||||||
runs-on: "ubuntu-20.04"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: "Checkout"
|
|
||||||
uses: "actions/checkout@v4"
|
|
||||||
|
|
||||||
- name: "Install Node"
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version-file: ".nvmrc"
|
|
||||||
cache: "yarn"
|
|
||||||
|
|
||||||
- name: "Install dependencies with Yarn"
|
|
||||||
run: "yarn install"
|
|
||||||
|
|
||||||
- name: "Build dev assets"
|
|
||||||
run: "yarn run build:dev"
|
|
||||||
|
|
||||||
- name: "Build prod assets"
|
|
||||||
run: "yarn run build:prod"
|
|
||||||
|
|
||||||
- name: "Validate no change were created"
|
|
||||||
run: |
|
|
||||||
GITDIFF=`git diff`
|
|
||||||
if [ "$GITDIFF" == "" ]; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
git diff
|
|
||||||
exit 1
|
|
||||||
fi
|
|
Loading…
Reference in a new issue