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

24 lines
449 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
- name: Execute tests
run: npm run test
2021-09-26 06:57:11 -04:00
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
2021-09-25 10:04:10 -04:00
- name: Build artifacts
run: npm run build