Skip to content

deps: modify npm to pnpm #8

deps: modify npm to pnpm

deps: modify npm to pnpm #8

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
test-typescript:
name: TypeScript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
cache: pnpm
- name: Install Dependencies
id: pnpm-install
run: pnpm install --frozen-lockfile
- name: Check Format
id: pnpm-format-check
run: pnpm run format:check
- name: Lint
id: pnpm-lint
run: pnpm run lint
- name: Test
id: pnpm-ci-test
run: pnpm run ci-test
test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Test Local Action
id: test-action
uses: ./
with:
milliseconds: 2000
- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.time }}"