mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-24 08:02:27 +00:00
- VCS: separate link config for ca65 vs cc65 projects (asm_cfgfile / asm_libargs / asm_extra_link_files in toolmeta) - Tool selection for arm32 and huc6280 - fixed sdcc IHX parser out of bounds (vector-z80color) - coleco presets - added buildpresets to gh build
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
|
|
name: Node.js CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [24.x]
|
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
- run: git submodule init
|
|
- run: git submodule update
|
|
- run: npm ci --no-audit --legacy-peer-deps
|
|
- run: npm run build --if-present
|
|
- run: npm test
|
|
env:
|
|
TEST8BIT_GITHUB_TOKEN: ${{ secrets.TEST8BIT_GITHUB_TOKEN }}
|
|
- run: npm run buildpresets
|
|
- run: make distro
|
|
- name: Deploy
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
uses: JamesIves/github-pages-deploy-action@v4.9.0
|
|
with:
|
|
branch: gh-pages
|
|
folder: tmp/dist
|