Skip to content

chore(deps): update dependency @rollup/plugin-terser to v0.4.4 #936

chore(deps): update dependency @rollup/plugin-terser to v0.4.4

chore(deps): update dependency @rollup/plugin-terser to v0.4.4 #936

name: Test example
on:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
workflow_call:
env:
PKG_DIR: "packages/example"
jobs:
nodejs_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.14.0]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('${{env.PKG_DIR}}/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: |
cd ${{env.PKG_DIR}} ;
pnpm install;
- name: Verify builds
run: |
cd ${{env.PKG_DIR}} ;
pnpm run build:deps ;
- name: Test
run: |
cd ${{env.PKG_DIR}} ;
pnpm test;
- name: Lint Check
run: |
cd ${{env.PKG_DIR}} ;
pnpm lint;