Skip to content

v1.0.1: Update dependencies #1

v1.0.1: Update dependencies

v1.0.1: Update dependencies #1

Workflow file for this run

name: npm-release
on:
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.target_commitish }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://registry.npmjs.org/
- name: install pnpm
run: npm i pnpm -g
- name: install dependencies
run: pnpm i
- name: linting
run: |
pnpm lint
pnpm lint:types
- name: unit tests
run: pnpm test:ci
- name: test coverage artifacts
uses: actions/upload-artifact@v4
with:
name: coverage
path: ./coverage
if-no-files-found: error
- name: build
run: pnpm build
- name: build artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: ./dist
if-no-files-found: error
- name: publish
run: pnpm run publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}