Skip to content

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

feat: add inputMatchesDatasetConfig() and inputToDatasetPayload()

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

Workflow file for this run

name: Publish to GitHub Packages
on:
push:
tags:
- 'v*'
permissions:
contents: read
packages: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main
- 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
- name: Publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}