mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 01:48:43 +01:00
0ac8089eee
The error on PHP 7.2 & 7.3 is: > PDO::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] See: - https://stackoverflow.com/q/53066962/569101 - https://stackoverflow.com/q/52364415/569101 - https://stackoverflow.com/q/51489616/569101 - https://stackoverflow.com/q/50026939/569101 Also upgrade `actions/checkout` v3
42 lines
770 B
YAML
42 lines
770 B
YAML
name: "Assets"
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- 2.*
|
|
|
|
jobs:
|
|
js:
|
|
name: "Building assets"
|
|
runs-on: "ubuntu-20.04"
|
|
|
|
steps:
|
|
- name: "Checkout"
|
|
uses: "actions/checkout@v3"
|
|
|
|
- name: "Install Node"
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "12"
|
|
|
|
- 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
|