Skip to content

rs gh actions

rs gh actions #157

Workflow file for this run

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