Experimental CI/CD

This commit is contained in:
zkldi
2021-05-25 21:00:03 +01:00
committed by GitHub
parent c808c6c085
commit 9ed9108475
+24
View File
@@ -0,0 +1,24 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test on Node.js 15
uses: actions/setup-node@v2
with:
node-version: 15.x
- run: pnpm ci
- run: pnpm lint
- run: pnpm test