Skip to content

Commit

Permalink
add a CI template and README
Browse files Browse the repository at this point in the history
  • Loading branch information
Yo-mah-Ya committed Oct 17, 2023
1 parent fbdef30 commit e174935
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build

on:
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: install dependencies
run: yarn install
- name: lint && prettier
run: yarn lint
- name: test
run: yarn test
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# proto-to-ts-type

**This library will generate TypeScript types from `.proto` files.
This does not generate other features like binary serializing/deserializing, toJson/fromJson or other stuff like that.**

### dependencies

- plugin.proto
Expand Down

0 comments on commit e174935

Please sign in to comment.