Skip to content

Commit

Permalink
fix(ci): fix triggers for the CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Dec 17, 2021
1 parent e36b06b commit 0750223
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
@@ -1,6 +1,10 @@
name: CI

on: [push, pull_request]
on:
push:
branches: ['master']
pull_request:
types: [opened, synchronize]

jobs:
build:
Expand All @@ -9,28 +13,34 @@ jobs:
matrix:
node-version: ['16']
steps:
- uses: actions/checkout@v2
- name: Check out code
uses: actions/checkout@v2

- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Restore Yarn cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Restore Lerna cache
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- run: yarn install --frozen-lockfile
- run: make bootstrap
- run: make packages-build
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Expand Up @@ -16045,11 +16045,6 @@ multimatch@^3.0.0:
arrify "^1.0.1"
minimatch "^3.0.4"

mustache@^2.3.0:
version "2.3.2"
resolved "https://registry.yarnpkg.com/mustache/-/mustache-2.3.2.tgz#a6d4d9c3f91d13359ab889a812954f9230a3d0c5"
integrity sha512-KpMNwdQsYz3O/SBS1qJ/o3sqUJ5wSb8gb0pul8CO0S56b9Y2ALm8zCfsjPXsqGFfoNBkDwZuZIAjhsZI03gYVQ==

mute-stream@0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
Expand Down

0 comments on commit 0750223

Please sign in to comment.