diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9aa2785..653ef23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + lfs: true - uses: actions/setup-node@v2 with: node-version: 12 @@ -34,6 +36,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 + with: + lfs: true - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 2b1cd2e..767a8a0 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,4 +1,9 @@ # Need to add :latest, otherwise old versions (e.g. of node) are installed FROM gitpod/workspace-full:latest -RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2 libgbm1 \ No newline at end of file +RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash +RUN sudo apt-get install git-lfs +RUN git lfs install + +# Puppeteer dependencies +RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2 libgbm1 libxshmfence1 \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml index 8672186..236da93 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,11 +1,10 @@ image: file: .gitpod.Dockerfile - tasks: + - init: git lfs pull - init: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >>~/.npmrc - init: yarn --frozen-lockfile - vscode: extensions: - karlito40.fix-irregular-whitespace@0.0.3:8jjyZYuYF6yW6nwsAiulrg== - - adrianwilczynski.toggle-hidden@1.0.2:pj4yxebPvdfdMeVIjOEuRQ== \ No newline at end of file + - adrianwilczynski.toggle-hidden@1.0.2:pj4yxebPvdfdMeVIjOEuRQ==