Merge pull request #8 from spaytac/feature/cr-github-actions

Create yarn-gulp.yml
This commit is contained in:
Aytac Kirmizi 2023-03-31 09:49:07 +02:00 committed by GitHub
commit 92de638579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

34
.github/workflows/yarn-gulp.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: NodeJS with Gulp
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 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 }}
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Theme Test
run: yarn test
- name: Build & zip package
run: yarn zip