Skip to content

chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 (#281) #579

chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 (#281)

chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 (#281) #579

Workflow file for this run

name: CI
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn test --ci --coverage
- name: Build
run: yarn build
release:
name: Release
needs: [ test ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
if: github.ref == 'refs/heads/main' # Only release on master
- name: Release (dry-run)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release --dry-run
if: github.ref != 'refs/heads/main' # Dry run on all other branches