Skip to content

use main rather than master github ci #1

use main rather than master github ci

use main rather than master github ci #1

Workflow file for this run

name: test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: test
uses: actions/checkout@v4
uses: actions/setup-node@v3

Check failure on line 15 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 15, Col: 7): 'uses' is already defined
with:
node-version: 20
- run: npm install
- run: npm run build --if-present
- run: npm test