Skip to content

Commit a2683a8

Browse files
committed
updated github CI
1 parent 81c81ad commit a2683a8

File tree

2 files changed

+28
-49
lines changed

2 files changed

+28
-49
lines changed

.github/workflows/blank.yml

-49
This file was deleted.

.github/workflows/node.js.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: Node.js CI
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [22.x]
16+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17+
18+
steps:
19+
- run: corepack enable
20+
- uses: actions/checkout@v4
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'yarn'
26+
- run: yarn install
27+
- run: yarn build
28+
- run: yarn test

0 commit comments

Comments
 (0)