Skip to content

Debugging

Debugging #16

Workflow file for this run

name: CI
on:
push:
branches: [ci]
permissions: {}
env:
API_DOMAIN: eternagame.org
NODE_VERSION: 20.x
BUILD_TYPE: prod
jobs:
build-eternajs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('./eternajs/package-lock.json') }}
- name: Create GitHub App token for built engine access
uses: actions/create-github-app-token@v1
id: engines-app-token
with:
app-id: ${{ secrets.BUILT_ENGINE_CLIENT_ID }}
private-key: ${{ secrets.BUILT_ENGINE_APP_PRIVATE_KEY }}
owner: eternagame
repositories: eternajs-folding-engines
- name: Install details
run: 'curl -H "Authorization: token ${{ steps.engines-app-token.outputs.token }}" https://api.github.com/installation/repositories'