Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
add next branch to node.js CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kermanx committed May 3, 2022
1 parent 90eb930 commit 6420e4c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 29 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thank you for supporting the UCON framework!'
pr-message: 'Thank you for supporting the UCON framework!'
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Thank you for supporting the UCON framework!"
pr-message: "Thank you for supporting the UCON framework!"
47 changes: 23 additions & 24 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,38 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main, next]
pull_request:
branches: [ main ]
branches: [main, next]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

# Install monorepo dependencies
- run: npm ci
# Install all dependencies and link packages
- run: lerna bootstrap
# Build climo
- run: tsc --build
working-directory: ./scripts
# Run test in all packages
- run: node ./dist/index.js run test "*"
working-directory: ./scripts
# Upload coverage to Codecov.io
- name: Codecov
uses: codecov/codecov-action@v3.1.0
with:
directory: ./coverage
# Install monorepo dependencies
- run: npm ci
# Install all dependencies and link packages
- run: lerna bootstrap
# Build climo
- run: tsc --build
working-directory: ./scripts
# Run test in all packages
- run: node ./dist/index.js run test "*"
working-directory: ./scripts
# Upload coverage to Codecov.io
- name: Codecov
uses: codecov/codecov-action@v3.1.0
with:
directory: ./coverage

0 comments on commit 6420e4c

Please sign in to comment.