Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
LoaderB0T committed Sep 28, 2024
1 parent 67a1c91 commit c93f8e3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,13 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 19.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm i -g pnpm
- name: Install
run: pnpm i
- name: Build
run: pnpm build
uses: awdware/dev/.github/workflows/nodejs.yml@main
secrets: inherit
23 changes: 23 additions & 0 deletions .github/workflows/test-results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Results

on:
workflow_run:
workflows: ['CI']
types:
- completed
permissions: {}

jobs:
build:
uses: awdware/dev/.github/workflows/test-results.yml@main
secrets: inherit
permissions:
checks: write
# needed unless run with comment_mode: off
pull-requests: write
# only needed for private repository
contents: read
# only needed for private repository
issues: read
# required by download step to access artifacts API
actions: read

0 comments on commit c93f8e3

Please sign in to comment.