chore(deps): update dependency prettier to v3 - autoclosed #2276
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
schedule: | |
- cron: '0 3 * * 0' # every Sunday at 3am | |
env: | |
CI: true | |
jobs: | |
own_tests: | |
name: 'Own Tests' | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- uses: ./.github/actions/pnpm | |
- run: pnpm test | |
lint_source: | |
name: Lint Source | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- uses: ./.github/actions/pnpm | |
- name: Formatting | |
run: pnpm format | |
- name: ESLint | |
run: pnpm lint:js | |
lint_test-packages: | |
name: Lint Test Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- uses: ./.github/actions/pnpm | |
- name: ESLint | |
run: pnpm lint:all:js | |
lint_formatting: | |
name: Lint Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- uses: ./.github/actions/pnpm | |
# lint_types: | |
# name: Lint Types | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: volta-cli/action@v4 | |
# - uses: ./.github/actions/pnpm | |
# - name: Type Check | |
# run: pnpm tsc | |
# https://github.com/changesets/action | |
release: | |
name: Release | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
needs: | |
- own_tests | |
- lint_source | |
- lint_test-packages | |
# - lint_types | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: ./.github/actions/pnpm | |
- name: Create Release Pull Request or Publish to npm | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
# This expects you to have a script called release which does a build for your | |
# packages and calls changeset publish | |
publish: pnpm release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |