mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-28 11:21:06 -05:00
22 lines
381 B
YAML
22 lines
381 B
YAML
name: ci
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Node.js v16
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Set up node modules
|
|
run: npm ci
|
|
|
|
- name: Build artifacts
|
|
run: npm run build
|
|
|
|
- name: Execute tests
|
|
run: npm run test
|