Skip to content

chore: update CI workflows #49

chore: update CI workflows

chore: update CI workflows #49

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Pull Request
on:
pull_request:
branches: [ master ]
env:
NODE_VERSION: 20
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Test
run: yarn test