mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 09:51:01 -05:00
Set up GitHub workflow
This commit is contained in:
parent
5a416adca9
commit
2fa488cdc0
1 changed files with 22 additions and 0 deletions
22
.github/workflows/ci.yml
vendored
Normal file
22
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
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
|
||||
|
||||
- name: Build artifacts
|
||||
run: npm run build
|
Loading…
Reference in a new issue