Skip to content

update workflow

update workflow #71

Workflow file for this run

name: ci
on: push
jobs:
test:

Check failure on line 4 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
runs-on: ubuntu-20.04
name: Test on Node v18
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
# - uses: bahmutov/npm-install@v1
- run: pnpm install
- run: pnpm build
- run: pnpm run test
- name: Upload coverage report on Node v18 to coveralls.io...
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}