From 37d5139f22291809fc9f30b11a06f28a80aae0d0 Mon Sep 17 00:00:00 2001 From: Aytac Kirmizi Date: Fri, 31 Mar 2023 09:46:59 +0200 Subject: [PATCH] Create yarn-gulp.yml --- .github/workflows/yarn-gulp.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/yarn-gulp.yml diff --git a/.github/workflows/yarn-gulp.yml b/.github/workflows/yarn-gulp.yml new file mode 100644 index 0000000..d8c57a0 --- /dev/null +++ b/.github/workflows/yarn-gulp.yml @@ -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 +