Skip to content

Commit

Permalink
ci: add concurrency configuration to e2e Github Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Mar 30, 2024
1 parent 6af632b commit cfbfc44
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- main
schedule:
- cron: '0 0 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
e2e:
Expand Down
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM node:18.18

# Install chrome and necessary dependencies
# Install necessary dependencies
RUN apt-get update \
&& apt-get install -y wget gnupg ca-certificates jq expect \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& apt-get install -y wget gnupg ca-certificates jq expect

# Install Chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' \
&& apt-get update \
&& apt-get install -y google-chrome-stable
Expand All @@ -26,8 +28,7 @@ RUN git clone https://github.com/Agoric/agoric-sdk.git && \
cd ../.. && \
./bin/agd build

ENV PATH="/agoric-app/agoric-sdk/bin:${PATH}"
EXPOSE 26657
ENV PATH="/agoric-app/agoric-sdk/packages/agoric-cli/bin:/agoric-app/agoric-sdk/bin:${PATH}"

# Setup Wallet App
WORKDIR /app
Expand Down

0 comments on commit cfbfc44

Please sign in to comment.