Skip to content

Commit

Permalink
Update GitHub Actions + Dockerfile (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits authored Nov 2, 2023
1 parent 1583bf6 commit 168b070
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
- run: yarn install
# - run: yarn test:jest
- run: yarn build
9 changes: 5 additions & 4 deletions .github/workflows/update_deps.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Monthly dependency updates
on:
schedule:
# First of every month
- cron: 0 0 1 * *
# First of January, April, July, and October
- cron: 0 0 1 */3 *

jobs:
create_issue:
Expand All @@ -12,7 +12,7 @@ jobs:
issues: write
steps:
- name: Update dependencies
uses: imjohnbo/issue-bot@7e438653c0da13f4f79678a56bb9ecbd9dcc26ac
uses: imjohnbo/issue-bot@3bee265982b87e730cf6c8dab7f86b68c92f8ef1
with:
title: "Update dependencies"
body: |
Expand All @@ -22,6 +22,7 @@ jobs:
```
Make sure there are no issues in the code editor, code compiles, and it runs without issues in the browser.
pinned: false
close-previous: false
close-previous: true
labels: "dependencies"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ ENV DEBIAN_FRONTEND=noninteractive
# https://create-react-app.dev/docs/advanced-configuration/
ENV INLINE_RUNTIME_CHUNK=false
RUN apt-get update && apt-get install --no-install-recommends -y gpg curl git make ca-certificates apt-transport-https && \
curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key|gpg --dearmor >/etc/apt/trusted.gpg.d/nodesource.gpg && \
echo "deb https://deb.nodesource.com/node_16.x focal main" | tee /etc/apt/sources.list.d/nodesource.list && \
curl -sSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key|gpg --dearmor >/etc/apt/trusted.gpg.d/nodesource-key.gpg && \
echo "deb https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |gpg --dearmor >/etc/apt/trusted.gpg.d/yarnpkg.gpg && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && apt-get install -y nodejs yarn && apt-get clean
Expand Down

0 comments on commit 168b070

Please sign in to comment.