Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Aug 28, 2024
1 parent b31de0d commit da35e5e
Showing 1 changed file with 14 additions and 29 deletions.
43 changes: 14 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,30 @@
---
name: Github CI
name: CI

on:
- push
- pull_request
push:
branches:
- '**'
pull_request:
branches:
- '**'
schedule:
- cron: '0 4 1 * *'

jobs:
gulp:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup NodeJS
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 20.10.0

- name: Setup NodeJS cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Find Yarn cache location
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Setup Yarn cache
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: '20.16'

- name: Install NodeJS dependencies
run: |
yarn install
run: make deps

- name: Run Gulp
run: yarn run gulp
run: make build

0 comments on commit da35e5e

Please sign in to comment.