Skip to content

Commit

Permalink
fix: adjust build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Oct 10, 2023
1 parent 8402ef1 commit 4f164a2
Showing 1 changed file with 41 additions and 42 deletions.
83 changes: 41 additions & 42 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
# name: Build and Publish to NPM

# on:
# push:
# branches:
# - main
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [ "main" ]
# pull_request_target:
# types: [opened, synchronize, reopened]

# jobs:
# build:
# runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v2

# - name: Use Node.js
# uses: actions/setup-node@v2
# with:
# node-version: '18.11.0'

# - name: Install Dependencies
# run: npm install

# - name: Build
# run: npm run build:linux

#- name: Unit Tests
# working-directory: packages/core
# run: npm test
# env:
# CI: true

# - name: Set up .npmrc
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
# - name: Install dependencies
# run: npm ci

name: Build

on:
push:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "18.11.0"

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build

#- name: Unit Tests
# working-directory: .
# run: npm test
# env:
# CI: true

#- name: Set up .npmrc
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
#- name: Install dependencies
# run: npm ci

0 comments on commit 4f164a2

Please sign in to comment.