Skip to content

Commit

Permalink
Merge pull request #464 from NEKOYASAN/fix/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
halsk committed Jan 8, 2024
2 parents b4a36c2 + 1c0abe2 commit c3025bf
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# see https://playwright.dev/docs/ci-intro
name: e2e
on: push
on:
push:
branches:
- master
pull_request_target:

jobs:
test:
timeout-minutes: 60
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/generate-pages.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: generate pages

on: push
on:
pull_request_target:

jobs:
generate-pages:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20.10.0'
node-version-file: '.node-version'

- name: Cache dependencies
uses: actions/cache@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ on:
push:
branches:
- master
workflow_dispatch:

jobs:
build-deploy:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20.10.0'
node-version-file: '.node-version'

- name: Cache dependencies
uses: actions/cache@v1
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: lint
on: push
on:
push:
branches:
- master
pull_request_target:

jobs:
eslint:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20.10.0'
node-version-file: '.node-version'
- run: yarn install
- run: yarn run lint
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: test
on: push
on:
push:
branches:
- master
pull_request_target:

jobs:
test:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c3025bf

Please sign in to comment.