mirror of https://github.com/iconify/api.git
31 lines
576 B
YAML
31 lines
576 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- next
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- next
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 'latest'
|
|
|
|
- name: 📦 Install dependencies
|
|
run: npm ci
|
|
|
|
- name: 🚧 Build project
|
|
run: npm run build
|
|
|
|
- name: 🧪 Test project
|
|
run: npm run test
|