refactor readme #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
push: | |
branches: [ "main" , "dev" ] | |
pull_request: | |
branches: [ "main" , "dev"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 16.x ] | |
pnpm-version: [ 8.0.0 ] | |
name: Use Node.js ${{ matrix.node-version }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node enviroment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup Pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: ${{matrix.pnpm-version}} | |
- name: Install Pnpm | |
run: pnpm install | |