Skip to content

fix(deps): bump micromatch from 4.0.5 to 4.0.8 (#520) #303

fix(deps): bump micromatch from 4.0.5 to 4.0.8 (#520)

fix(deps): bump micromatch from 4.0.5 to 4.0.8 (#520) #303

Workflow file for this run

name: main
on:
push:
branches: [main]
paths-ignore:
- "**.md"
jobs:
build:
name: Build and test
strategy:
matrix:
os:
- ubuntu-latest
# Times out on GitHub CI :(
# - macos-latest
# - windows-latest
node-version: [18, 19, 21]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Run tests
run: yarn test:debug
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build
path: |
es
cjs
coverage:
name: Test coverage
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: yarn
- name: Download build artifacts
uses: actions/[email protected]
with:
name: build
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test --coverage
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
release:
name: Release
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: yarn
- name: Download build artifacts
uses: actions/[email protected]
with:
name: build
- name: Install dependencies
run: yarn install
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}