Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
meysamhadeli authored Dec 9, 2023
1 parent 4379104 commit d1b9fd3
Showing 1 changed file with 5 additions and 27 deletions.
32 changes: 5 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,18 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: CI

on:
push:
branches: [ "main"]
paths-ignore:
- "README.md"
- "CHANGELOG.md"
pull_request:
branches: [ "main" ]
on: [push]

jobs:
build:

ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Node.js
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'

- name: pkg build
working-directory: ./src/building-blocks
- run: npm ci
- run: npm run build --if-present

- name: identity_service build
working-directory: ./src/identity
- run: npm ci
- run: npm run build --if-present

- name: identity_service test
working-directory: ./src/identity
- run: npm test

0 comments on commit d1b9fd3

Please sign in to comment.