Skip to content

chore: added an event-listener to popstate, to make exit run on browse… #178

chore: added an event-listener to popstate, to make exit run on browse…

chore: added an event-listener to popstate, to make exit run on browse… #178

name: Transpile and Build Check
on: [pull_request]
jobs:
builds:
if: "!contains(github.event.pull_request.title, 'WIP!')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node_modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Install Dependencies
run: yarn install --immutable
- name: Run Build Command
run: yarn build