Skip to content

👷 Add reedsy CiCd #2

👷 Add reedsy CiCd

👷 Add reedsy CiCd #2

Workflow file for this run

name: CI/CD
on: push
jobs:
test:

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

View workflow run for this annotation

GitHub Actions / CI/CD

Invalid workflow file

The workflow is not valid. .github/workflows/push.yml (Line: 4, Col: 3): The workflow must contain at least one job with no dependencies.
name: Test
runs-on: ubuntu-latest
needs: setup
services:
mongo:
image: mongo:3.4.23
ports:
- 27017:27017
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install
run: npm install
- name: Lint
run: npm lint
- name: Build
run: npm build
- name: test
run: npm test
- name: Tag
if: |
github.event_name == 'push' && github.ref == 'refs/heads/main'
run: ./tag.sh