Skip to content

Commit a2cf988

Browse files
Update CI workflow (#9569)
1 parent 865db8c commit a2cf988

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Continuous Integration
22

33
on:
44
pull_request:
5+
push:
6+
branches:
7+
- v2
58

69
permissions:
710
contents: read
@@ -112,8 +115,8 @@ jobs:
112115
# Deployment steps taken from https://github.com/colinwilson/static-site-to-vercel/blob/master/.github/workflows/deploy-preview.yml
113116
repl_build:
114117
name: Build REPL
118+
if: ${{ github.event_name == 'pull_request' }}
115119
runs-on: ubuntu-latest
116-
needs: [unit_tests]
117120
permissions:
118121
deployments: write
119122
steps:
@@ -137,11 +140,8 @@ jobs:
137140
- name: Bump max inotify watches
138141
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p;
139142
- run: yarn --frozen-lockfile
140-
- name: Download @parcel/rust Linux Binaries artifact
141-
uses: actions/download-artifact@v3
142-
with:
143-
name: Rust Linux Binaries
144-
path: packages/core/rust
143+
- name: Build native packages
144+
run: yarn build-native-release
145145
- run: yarn build
146146
- run: yarn build-native-wasm
147147
- run: yarn workspace @parcel/repl build

0 commit comments

Comments
 (0)