diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml index d6ecd22..b30c3ec 100644 --- a/.github/workflows/branch.yml +++ b/.github/workflows/branch.yml @@ -3,37 +3,38 @@ name: Branch (CI) on: push: branches: - - '**' + - "**" tags-ignore: - - '**' + - "**" paths-ignore: - - '.vscode/**' - - 'scripts/**' + - ".vscode/**" + - "scripts/**" pull_request: branches: - - '**' + - "**" tags-ignore: - - '**' + - "**" paths-ignore: - - '.vscode/**' - - 'scripts/**' + - ".vscode/**" + - "scripts/**" jobs: test: name: Node.js v14 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14 + cache: yarn - - name: Install - run: yarn install + - name: Install + run: yarn install - - name: TypeCheck - run: yarn test + - name: TypeCheck + run: yarn test - - name: Compiles - run: yarn build + - name: Compiles + run: yarn build diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index a306a2d..c797414 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -3,9 +3,9 @@ name: Tag (CD) on: push: branches-ignore: - - '**' + - "**" tags: - - 'v**' + - "v**" env: # cfw authentication values @@ -23,19 +23,20 @@ jobs: name: Node.js v14 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14 + cache: yarn - - name: Install - run: yarn install + - name: Install + run: yarn install - - name: Type Check - run: yarn test + - name: Type Check + run: yarn test - - name: Compiles - run: yarn build + - name: Compiles + run: yarn build - - name: Deploy - run: yarn deploy + - name: Deploy + run: yarn deploy