Skip to content

add definitions for the add enhanced changeset statistics #169

add definitions for the add enhanced changeset statistics

add definitions for the add enhanced changeset statistics #169

Workflow file for this run

name: Build and Test
on:
push:
branches:
- "**"
pull_request:
permissions:
contents: read
id-token: write
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
strategy:
matrix:
node-version:
- { v: 18 }
- { v: 20 }
- { v: 22 }
- { v: 24, isLatest: yes }
steps:
- name: ⏬ Checkout code
uses: actions/checkout@v2
- name: 🔢 Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version.v }}
- name: ⏬ Install
run: |
npm install
- name: ✨ Lint
run: |
npm run lint
- name: 🔨 Build
run: |
npm run build
- name: 🧪 Test
run: |
npm test
env:
FORCE_COLOR: 1
# - name: 📈 Coveralls
# uses: coverallsapp/github-action@1.1.3
# with:
# github-token: ${{ secrets.github_token }}
- name: 📦 Publish
uses: k-yle/npm-publish@v1
if: ${{ matrix.node-version.isLatest }}