mc-publish/.github/workflows/ci.yml

25 lines
450 B
YAML
Raw Normal View History

2021-09-25 10:04:10 -04:00
name: ci
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js v12
uses: actions/setup-node@v1
with:
node-version: 12
- name: Set up node modules
run: npm ci
2023-05-19 15:11:43 -04:00
- name: Build artifacts
run: npm run build
2021-09-25 10:04:10 -04:00
- name: Execute tests
run: npm run test
2021-09-26 06:57:11 -04:00
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}