-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'manuelernestog:main' into main
- Loading branch information
Showing
108 changed files
with
2,200 additions
and
1,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Build/release Electron app | ||
|
||
on: | ||
push: | ||
branches: | ||
- deploy | ||
|
||
jobs: | ||
release: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
npm install --global yarn | ||
yarn --version | ||
yarn install | ||
- name: Install Linux Dependencies | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
sudo dpkg --add-architecture i386 | ||
sudo apt-get update | ||
sudo apt-get install wine wine32 | ||
sudo apt-get install snapd | ||
sudo apt-get install libarchive-tools | ||
sudo snap install snapcraft --classic | ||
- name: build-linux | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
yarn run electron:build | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
VUE_APP_SENTRY_DNS: ${{ secrets.VUE_APP_SENTRY_DNS }} | ||
|
||
- name: build-linux | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
yarn run electron:build --win nsis | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
VUE_APP_SENTRY_DNS: ${{ secrets.VUE_APP_SENTRY_DNS }} | ||
|
||
- name: build-linux-snap | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
yarn electron:build --linux snap -p always | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
VUE_APP_SENTRY_DNS: ${{ secrets.VUE_APP_SENTRY_DNS }} | ||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} | ||
|
||
- name: build-mac | ||
if: matrix.os == 'macos-latest' | ||
run: yarn run electron:build | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
VUE_APP_SENTRY_DNS: ${{ secrets.VUE_APP_SENTRY_DNS }} | ||
|
||
- name: release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: true | ||
repository: manuelernestog/weektodo | ||
files: | | ||
dist_electron//*.exe | ||
dist_electron//*.dmg | ||
dist_electron//*.AppImage | ||
dist_electron//*.snap | ||
dist_electron//*.pacman | ||
dist_electron//*.deb | ||
dist_electron//*.rpm | ||
dist_electron//*.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,6 @@ pnpm-debug.log* | |
.vscode | ||
|
||
#Electron-builder output | ||
/dist_electron | ||
/dist_electron | ||
|
||
.env |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM node:16-alpine | ||
WORKDIR /app | ||
COPY package.json /app | ||
COPY yarn.lock /app | ||
RUN yarn install --frozen-lockfile && yarn cache clean | ||
COPY . /app | ||
CMD yarn run serve | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '3' | ||
services: | ||
app: | ||
build: . | ||
container_name: weektodo | ||
restart: unless-stopped | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- ".:/app" | ||
- "node_modules:/app/node_modules" | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:8080"] | ||
interval: 1m30s | ||
timeout: 10s | ||
retries: 3 | ||
start_period: 40s | ||
|
||
volumes: | ||
node_modules: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.