Skip to content

Fix ci

Fix ci #12

Workflow file for this run

name: CICD
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'example/**'
- '**/*.md'
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
uses: ./.github/workflows/test.yml
release:
name: Release
if: github.repository == 'ilijaNL/task-boss'
needs: test
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn tc
- name: Create Release Pull Request Or Release
uses: changesets/action@v1
with:
publish: yarn ci:publish
createGithubReleases: true # only works after publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}