Skip to content

chore: update workflow and testing #63

chore: update workflow and testing

chore: update workflow and testing #63

Workflow file for this run

name: Pull request workflow
on:
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
test_pull_request:
runs-on: ubuntu-latest
steps:
- name: Get Yarn cache path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/checkout@v4
- uses: actions/setup-node@v1
with:
node-version: '16.14.0'
- name: Load Yarn cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: install gulp
run: yarn global add gulp-cli
- name: Run test
run: gulp testCI