Skip to content

chore(ci): Run build on PR #2

chore(ci): Run build on PR

chore(ci): Run build on PR #2

Workflow file for this run

name: CI tests
on:
workflow_dispatch:
push:
pull_request:
branches:
- master
jobs:
ci-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: ⎔ Cache node_modules
uses: actions/cache@v3
env:
cache-name: node_modules-20x
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: 📥 Download deps
run: yarn install --frozen-lockfile
- name: ⎔ Build package
run: yarn build