Skip to content

Commit

Permalink
Merge pull request #3 from Fcmam5/ci/fix-gh-actions
Browse files Browse the repository at this point in the history
ci (:octocat:) : attempt to fix gh actions
  • Loading branch information
Fcmam5 authored Jun 6, 2021
2 parents 460c2be + 9be5cfc commit 0522740
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 54 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Node.js CI

on:
push:
branches: [main, develop]
branches: [master, develop]
pull_request:
branches: [main, develop]
branches: [master, develop]

jobs:
build:
Expand All @@ -13,14 +13,19 @@ jobs:
strategy:
matrix:
node-version: [12.x, 14.x, 15.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
# os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Nrwl Nx
uses: MansaGroup/nrwl-nx-action@v2.1.0
with:
targets: lint,test,build
50 changes: 0 additions & 50 deletions .github/workflows/npm-publish.yml

This file was deleted.

0 comments on commit 0522740

Please # to comment.