File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 2828 - name : Install dependencies
2929 run : composer install --no-dev -o
3030
31- - name : Deploy to main-built branch
32- run : bash <(curl -s "https://raw.githubusercontent.com/Automattic/vip-go-build/master/deploy.sh")
31+ - name : Setup Node
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : 20.11
35+
36+ - name : Install packages
37+ run : yarn install --immutable
38+
39+ - name : JS build
40+ run : yarn build
41+
42+ - name : Create and push built branch
43+ run : |
44+ git checkout -b main-built
45+ git add -A # Stage all changes, including untracked files
46+ git ls-files --ignored --exclude-standard -o -z | xargs -0 git rm --cached # Remove ignored files from the index
47+ git commit -m "Built WordPress plugin"
48+ git push origin main-built
You can’t perform that action at this time.
0 commit comments