Skip to content

feat: add inputMatchesDatasetConfig() and inputToDatasetPayload() #32

feat: add inputMatchesDatasetConfig() and inputToDatasetPayload()

feat: add inputMatchesDatasetConfig() and inputToDatasetPayload() #32

Workflow file for this run

name: Build and test
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://npm.pkg.github.com'
scope: '@getpopcorn'
always-auth: true
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Authenticate with GitHub Packages
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PACKAGES_TOKEN }}" >> .npmrc
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
- name: Test
run: pnpm test
- name: Build
run: pnpm build