mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-24 06:44:44 +00:00
Update workflows to use reusable-workflows
This commit is contained in:
parent
377c6dae40
commit
da188081b1
4 changed files with 27 additions and 68 deletions
20
.github/workflows/build-test.yml
vendored
20
.github/workflows/build-test.yml
vendored
|
@ -12,19 +12,7 @@ on:
|
|||
- '**.md'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Node 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npm run format-check
|
||||
- run: npm test
|
||||
call-basic-validation:
|
||||
name: Basic validation
|
||||
#uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
|
||||
uses: IvanZosimov/reusable-workflows/.github/workflows/basic-validation.yml@main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue