Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
push:
paths-ignore:
- '*.gitignore'
- '*.md'
- 'LICENSE'
pull_request:
paths-ignore:
- '*.gitignore'
- '*.md'
- 'LICENSE'

jobs:
Build:
name: Build (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: oven-sh/setup-bun@v1
- name: Build
run: |
rm -rf dist
npm install --no-fund
npm run build
- uses: actions/upload-artifact@v4
if: matrix.node-version == 18
with:
name: InfiniteCraftHelper
path: dist
if-no-files-found: error