Skip to content

fix: add error handling when [email protected] is not reachable #30

fix: add error handling when [email protected] is not reachable

fix: add error handling when [email protected] is not reachable #30

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build
on:
push:
branches: [ main ]
pull_request:
env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: install dependencies
run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm build