Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Build

Build #63

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
- '!master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
persist-credentials: false
fetch-depth: 0
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn --prefer-offline
- name: Build
run: yarn build
- name: Commit
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "Builder Bot"
git add .
git commit -m "Build files"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}