Skip to content
Merged
Show file tree
Hide file tree
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
26 changes: 18 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
name: CI

on: [push]
on:
workflow_dispatch:
pull_request:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 16
- name: npm build & test
run: |
npm install
npm run build
npm test
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
- name: Build
run: npm run build
- name: Test
run: npm test
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ skinview-utils
[![Gitter Chat](https://img.shields.io/gitter/room/TechnologyAdvice/Stardust.svg?style=flat-square)](https://gitter.im/skinview3d/Lobby)

Utilities for working with Minecraft skins

## Development

```bash
npm install
npx playwright install chromium # Required for tests (browser mode)
npm run build
npm test
```
22 changes: 0 additions & 22 deletions karma.conf.cjs

This file was deleted.

Loading