Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ jobs:
PREFIX_FILTER: |
src/
__tests__/
SUFFIX_FILTER: .js
SUFFIX_FILTER: |
.js
.snap
FILES: |
yarn.lock
jest.config.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: PR Labeler
uses: technote-fork/pr-labeler-action@v3
uses: technote-space/pr-labeler-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ on:
push:
tags:
- 'v*'
repository_dispatch:
types: [release]

name: Release

Expand All @@ -17,13 +19,15 @@ jobs:
- name: Get Yarn Cache Directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
if: github.event_name != 'repository_dispatch'
- name: Cache node dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
if: github.event_name != 'repository_dispatch'
- name: Install Package dependencies
run: yarn install
- name: Test
Expand All @@ -39,6 +43,7 @@ jobs:
release:
name: Publish Package
runs-on: ubuntu-latest
if: github.event_name != 'repository_dispatch'
strategy:
matrix:
target: ['npm']
Expand Down Expand Up @@ -111,13 +116,15 @@ jobs:
- name: Get Yarn Cache Directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
if: github.event_name != 'repository_dispatch'
- name: Cache node dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
if: github.event_name != 'repository_dispatch'
- name: Install Package dependencies
run: yarn install
- name: Build
Expand Down Expand Up @@ -146,6 +153,7 @@ jobs:
name: Upload build files
needs: test
runs-on: ubuntu-latest
if: github.event_name != 'repository_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jobs:
uses: technote-space/toc-generator@v2
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TARGET_BRANCH_PREFIX: release/
5 changes: 4 additions & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@ on:
- cron: 0 17 * * 5
pull_request:
types: [opened, synchronize, reopened, closed]
repository_dispatch:
types: [update-deps]

name: Update dependencies
jobs:
release:
update:
name: Update npm dependencies
runs-on: ubuntu-latest
steps:
- name: Update dependencies
uses: technote-space/create-pr-action@v1
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXECUTE_COMMANDS: |
npx npm-check-updates -u --packageFile package.json
yarn install
Expand Down