Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nozomuikuta committed Nov 30, 2023
1 parent e9d7ecc commit 9d07180
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
pull_request:
types: [opened, synchronize]
paths-ignore:
- "README.md"
push:
branches:
- main
paths-ignore:
- "README.md"

jobs:
ci:
name: CI
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2

- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "pnpm"

- run: pnpm install --frozen-lockfile

- run: pnpm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ jobs:
node-version: "18"
cache: "pnpm"
- run: pnpm install --frozen-lockfile

- run: pnpm run build

- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9d07180

Please sign in to comment.