mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
Create ci.yml
This commit is contained in:
@@ -0,0 +1,33 @@
|
|||||||
|
name: NodeJS with Webpack
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [18.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: install deps
|
||||||
|
run: |
|
||||||
|
yarn install --frozen-lockfiles
|
||||||
|
- name: unit tests
|
||||||
|
run: |
|
||||||
|
yarn test
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
yarn build
|
||||||
Reference in New Issue
Block a user