Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
adding action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joedenis01 authored Oct 9, 2021
1 parent 19002a6 commit b8a0895
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 38 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/break_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: node_js
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
client:
runs-on: ubuntu-latest
env:
PACKAGE_LOCATION: client
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: lts/*

- name: Build
run: |
cd $PACKAGE_LOCATION
npm ci
npm run format
npm run lint
npm run build
npm run test
server:
runs-on: ubuntu-latest
env:
PACKAGE_LOCATION: server
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: lts/*
- name: Build
run: |
cd $PACKAGE_LOCATION
npm ci
npm run format
npm run lint
npm run build
npm run test
38 changes: 0 additions & 38 deletions .github/workflows/node-ci.yml

This file was deleted.

1 comment on commit b8a0895

@vercel
Copy link

@vercel vercel bot commented on b8a0895 Oct 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.