conflicts #160
This file contains 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: Build | |
on: | |
workflow_call: | |
secrets: | |
GH_TOKEN: | |
description: 'GitHub Token' | |
required: true | |
push: | |
branches: | |
- '*' | |
- '!deploy' | |
- '!gh-pages' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Retrieve git dependencies | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
token: ${{ secrets.GH_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: v20.4 | |
- name: Run | |
run: | | |
echo "Installing dependencies..." | |
npm i | |
echo "Building client..." | |
npm run build |