Skip to content

chore: Bump version to 0.2.1 in package.json #11

chore: Bump version to 0.2.1 in package.json

chore: Bump version to 0.2.1 in package.json #11

Workflow file for this run

name: Publish
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
cache: "npm"
node-version: "20.10"
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
cache: "npm"
node-version: "20.10"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
check-exports:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
cache: "npm"
node-version: "20.10"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Check exports
run: npm run check-exports