Skip to content

chore(deps): update dependency @biomejs/biome to v1.8.3 #94

chore(deps): update dependency @biomejs/biome to v1.8.3

chore(deps): update dependency @biomejs/biome to v1.8.3 #94

Workflow file for this run

name: Test
on:
push:
branches:
- '*'
pull_request:
branches:
- main
- develop
jobs:
build:
name: Node unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '21']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
uses: pnpm/action-setup@v3.0.0
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ matrix.node }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
run: pnpm install
- name: Lint source
run: |
pnpm check:ci
- name: Build package
run: |
pnpm build
- name: Run tests
run: |
pnpm test
env:
CI: true
- name: 'Consume changesets'
if: github.event_name == 'push' && github.repository == 'ivandotv/puntoenv' && matrix.node == 21 && github.ref == 'refs/heads/main'
uses: changesets/action@v1
id: 'changesets'
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm release
commit: version bump
title: Next release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}