Skip to content

update github action #276

update github action

update github action #276

name: Node.js CI
on: [push, pull_request]
jobs:
build:

Check failure on line 6 in .github/workflows/github-actions-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Install dependencies core
run: |
cd packages/easy-email-core && pnpm install
- name: Run tests core
run: pnpm run test:core
- name: Install dependencies extensions
run: |
cd packages/easy-email-extensions && pnpm run
- name: Run tests extensions
run: pnpm run test:extensions