Skip to content

Merge pull request #337 from OpenFn/326-update-jsforce #791

Merge pull request #337 from OpenFn/326-update-jsforce

Merge pull request #337 from OpenFn/326-update-jsforce #791

Workflow file for this run

name: CI
# Runs when a pull request is created or its head is updated
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
on:
pull_request:
push:
branches: [main]
jobs:
build:
name: 'Build and Test'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.9
- name: Setup node ${{ matrix.node-version }}
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Setup pnpm
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- name: Unit Tests
run: pnpm run test