Skip to content

Merge branch 'main' of github.com:OpenFn/kit #28

Merge branch 'main' of github.com:OpenFn/kit

Merge branch 'main' of github.com:OpenFn/kit #28

Workflow file for this run

name: Publish
on:
push:
branches: main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '18'
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm build
- run: pnpm test
- run: pnpm config set "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: pnpm publish -r --report-summary --publish-branch main
- run: pnpm changeset tag
- run: git push --tags
- run: pnpm run generate-slack-report
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}