Skip to content

use main rather than master github ci #2

use main rather than master github ci

use main rather than master github ci #2

Workflow file for this run

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

Check failure on line 14 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: 14, Col: 7): 'uses' is already defined
with:
node-version: 20
- run: npm install
- run: npm run build --if-present
- run: npm test