Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Add "execa" to cspell.json #77

Add "execa" to cspell.json

Add "execa" to cspell.json #77

Workflow file for this run

name: CI
on: [push]
# Automatically cancel previous runs for the same ref (i.e. branch)
concurrency:
group: ${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: npm ci
- run: npm run eslint
- run: npm run cspell
publish:
needs: lint
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}