mc-publish/.github/workflows/ci.yml
2023-05-19 22:13:46 +03:00

24 lines
450 B
YAML

name: ci
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js v16
uses: actions/setup-node@v1
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
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}