Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/kuyoonjo/noble-winrt
Browse files Browse the repository at this point in the history
  • Loading branch information
kuyoonjo committed Mar 7, 2024
2 parents d6cb710 + 62e8341 commit 1de6d25
Showing 1 changed file with 11 additions and 26 deletions.
37 changes: 11 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,14 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: Build

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: clang-format lint
# You may pin to the exact commit or the version.
# uses: DoozyX/clang-format-lint-action@84b814a54950e27ac65a62069802df099405ef77
uses: DoozyX/[email protected]
with:
# Source folder to check formatting
source: './src' # optional, default is .
# Version of clang-format
# clangFormatVersion: # optional, default is 9
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-2016
Expand All @@ -41,9 +20,15 @@ jobs:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 13.x
node-version: 16.20.x
- name: Setup
run: |
yarn install --frozen-lockfile
yarn build:source
yarn ci
npm --loglevel=error i
npm run build:source
npm ci${{ secrets.MY_GITHUB_TOKEN }}
- name: Build
shell: powershell
run: |
npm --loglevel=error i -g prebuild 2>&1 | write-host
prebuild -t 8 -r napi --upload ${{ secrets.MY_GITHUB_TOKEN }} 2>&1 | write-host
echo "done."

0 comments on commit 1de6d25

Please sign in to comment.