Skip to content

Update eslint

Update eslint #139

Workflow file for this run

name: Changesets
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
jobs:
changesets:
name: Changesets
runs-on: ubuntu-latest
permissions:
contents: write
checks: read
issues: read
pull-requests: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
filter: blob:none
# We clone using a deploy key so that this workflow can
# push tags and trigger the release workflow, which GHA
# tokens don't allow.
ssh-key: ${{ secrets.DEPLOY_KEY }}
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: '*'
- run: npm ci
if: ${{ github.event_name != 'schedule' }}
- run: npm run build
- run: npm test
- uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 # v1.4.9
with:
publish: npx changeset tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}