Lock file maintenance #156
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: 'ci' | |
on: [push, pull_request] | |
jobs: | |
# lint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Install Pnpm | |
# run: corepack enable | |
# - name: Setup Node.js 18.x | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: 18.x | |
# cache: 'pnpm' | |
# - name: Install Dependencies | |
# run: pnpm i | |
# - name: Run lint | |
# run: pnpm run lint | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['18'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Pnpm | |
run: corepack enable | |
- name: Setup Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Run unit tests | |
run: pnpm run test | |
# test-types: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Install Pnpm | |
# run: corepack enable | |
# - name: Setup Node.js 18.x | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: 18.x | |
# cache: 'pnpm' | |
# - name: Install Dependencies | |
# run: pnpm i | |
# - name: Run type declaration tests | |
# run: pnpm run test:types |