Skip to content

V0

V0 #17

Workflow file for this run

name: pnpm test
permissions:
contents: read
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [15]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
with:
version: 8
name: Configure pnpm registry
run: pnpm config set registry https://registry.npmjs.org/
name: Use Node.js ${{ matrix.node-version }}

Check failure on line 18 in .github/workflows/nodejs-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nodejs-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: |
for i in {1..3}; do
pnpm install && break || sleep 10;
done
- name: Formatting
run: pnpm format
- name: Running tests
run: pnpm test