Skip to content

Commit

Permalink
yarn -> pnpm
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Sep 4, 2022
1 parent 1c1adcb commit ad212ac
Show file tree
Hide file tree
Showing 12 changed files with 68,068 additions and 68,658 deletions.
6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

16 changes: 11 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,32 +35,38 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Use pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: latest

- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: pnpm

- name: Install npm packages
if: runner.os == 'Linux'
run: yarn --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Check formatting
if: runner.os == 'Linux'
run: yarn fmt:check
run: pnpm fmt:check

- name: Check lint
if: runner.os == 'Linux'
run: yarn lint
run: pnpm lint

- name: Check type
if: runner.os == 'Linux'
run: yarn typecheck
run: pnpm typecheck

- name: Ensure dist directory is up-to-date
if: runner.os == 'Linux'
shell: bash
run: |
yarn build
pnpm build
if [ "$(git status dist lint-doc lint-fmt lint-opam --porcelain | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/lint-doc/*
/lint-fmt/*
/lint-opam/*
pnpm-lock.yaml
25 changes: 25 additions & 0 deletions dist/LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ad212ac

Please sign in to comment.