Skip to content

Commit

Permalink
Backport CI improvements from feature.color-4
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Dec 16, 2022
1 parent 38e772a commit 9b5c807
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

on:
push:
branches: [main]
branches: [main, feature.*]
tags: ['**']
pull_request:

Expand Down Expand Up @@ -61,6 +61,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- uses: frenck/action-setup-yq@v1
with: {version: v4.30.5} # frenck/action-setup-yq#35
- uses: arduino/setup-protoc@v1
with:
version: ${{ env.PROTOC_VERSION }}
Expand Down Expand Up @@ -90,8 +92,8 @@ jobs:
- name: Link the embedded compiler to Dart Sass
run: |
if [[ -d dart-sass ]]; then
echo "dependency_overrides: {sass: {path: ../dart-sass}}" \
>> dart-sass-embedded/pubspec.yaml
yq -i '.dependency_overrides.sass = {"path": "../dart-sass"}' \
dart-sass-embedded/pubspec.yaml
fi
- name: Check out the JS API definition
Expand Down Expand Up @@ -132,6 +134,8 @@ jobs:
with: {sdk: stable}
- uses: actions/setup-node@v2
with: {node-version: "${{ matrix.node_version }}"}
- uses: frenck/action-setup-yq@v1
with: {version: v4.30.5} # frenck/action-setup-yq#35
- uses: arduino/setup-protoc@v1
with:
version: ${{ env.PROTOC_VERSION }}
Expand All @@ -158,8 +162,8 @@ jobs:
- name: Link the embedded compiler to Dart Sass
run: |
if [[ -d dart-sass ]]; then
echo "dependency_overrides: {sass: {path: ../dart-sass}}" \
>> dart-sass-embedded/pubspec.yaml
yq -i '.dependency_overrides.sass = {"path": "../dart-sass"}' \
dart-sass-embedded/pubspec.yaml
fi
- name: Check out the JS API definition
Expand Down

0 comments on commit 9b5c807

Please sign in to comment.