Bump @types/node from 20.12.4 to 20.12.7 #35
Workflow file for this run
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: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
check-package: | |
name: Check Package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: latest | |
- name: Setup Yarn | |
uses: threeal/setup-yarn-action@v2.0.0 | |
with: | |
version: stable | |
- name: Check Format | |
run: | | |
yarn format | |
git diff --exit-code HEAD | |
- name: Check Lint | |
run: yarn lint | |
test-action: | |
name: Test Action | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows, ubuntu, macos] | |
steps: | |
- name: Checkout Solutions | |
uses: actions/checkout@v4.1.2 | |
with: | |
repository: threeal/leetspace-starter | |
- name: Checkout Action | |
uses: actions/checkout@v4.1.2 | |
with: | |
path: leettest-action | |
sparse-checkout: | | |
action.yml | |
dist | |
sparse-checkout-cone-mode: false | |
- name: Test Solutions | |
uses: ./leettest-action |