mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-02-17 10:19:28 +00:00
Compare commits
5 Commits
d3931a9cbe
...
4001614d49
Author | SHA1 | Date | |
---|---|---|---|
|
4001614d49 | ||
21089009b4 | |||
1551a5073b | |||
e54a39bb3e | |||
|
01405b49ef |
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -1,10 +1,8 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- push
|
||||||
branches: [ "main" ]
|
- pull_request
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -16,11 +14,12 @@ jobs:
|
|||||||
platform:
|
platform:
|
||||||
- windows-2019
|
- windows-2019
|
||||||
- windows-2022
|
- windows-2022
|
||||||
- macos-11
|
|
||||||
- macos-12
|
- macos-12
|
||||||
- macos-13
|
- macos-13
|
||||||
|
- macos-14
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
- ubuntu-22.04
|
- ubuntu-22.04
|
||||||
|
- ubuntu-24.04
|
||||||
go-version: [ 1.21 ]
|
go-version: [ 1.21 ]
|
||||||
node-version: [ 18 ]
|
node-version: [ 18 ]
|
||||||
|
|
||||||
@ -28,10 +27,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
cache-dependency-path: go.sum
|
cache-dependency-path: go.sum
|
||||||
@ -48,7 +47,7 @@ jobs:
|
|||||||
run: sudo apt-get install gtk+-3.0 webkit2gtk-4.0
|
run: sudo apt-get install gtk+-3.0 webkit2gtk-4.0
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: npm
|
cache: npm
|
||||||
@ -67,7 +66,7 @@ jobs:
|
|||||||
run: ./build/linux/ci_generate.sh "${{ matrix.platform }}"
|
run: ./build/linux/ci_generate.sh "${{ matrix.platform }}"
|
||||||
|
|
||||||
- name: Upload generated binaries
|
- name: Upload generated binaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rolens-${{ matrix.platform }}
|
name: rolens-${{ matrix.platform }}
|
||||||
path: releases/*
|
path: releases/*
|
||||||
@ -94,7 +93,7 @@ jobs:
|
|||||||
run: build/ci_bundle.sh
|
run: build/ci_bundle.sh
|
||||||
|
|
||||||
- name: Upload the bundle as an artifact
|
- name: Upload the bundle as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rolens-bundle
|
name: rolens-bundle
|
||||||
path: bundle
|
path: bundle
|
||||||
|
16
.github/workflows/docs.yml
vendored
16
.github/workflows/docs.yml
vendored
@ -22,24 +22,26 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "16"
|
node-version: "16"
|
||||||
|
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v5
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: cd website; npm ci
|
run: npm ci
|
||||||
|
working-directory: website
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: cd website; npm run build
|
run: npm run build
|
||||||
|
working-directory: website
|
||||||
|
|
||||||
- name: Upload built website
|
- name: Upload built website
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./website-dist
|
path: ./website-dist
|
||||||
|
|
||||||
@ -54,4 +56,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v2
|
uses: actions/deploy-pages@v4
|
||||||
|
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
@ -1,19 +1,17 @@
|
|||||||
name: Linter
|
name: Linter
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- push
|
||||||
branches: [ "main" ]
|
- pull_request
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
eslint:
|
eslint:
|
||||||
name: Run ESlint
|
name: Run ESLint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
2
frontend/package-lock.json
generated
2
frontend/package-lock.json
generated
@ -21,7 +21,7 @@
|
|||||||
"eslint": "^8.43.0",
|
"eslint": "^8.43.0",
|
||||||
"eslint-config-svelte3": "github:johbog/eslint-config-svelte3",
|
"eslint-config-svelte3": "github:johbog/eslint-config-svelte3",
|
||||||
"svelte": "^3.59.1",
|
"svelte": "^3.59.1",
|
||||||
"vite": "^3.2.7"
|
"vite": "^3.2.10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/runtime": {
|
"node_modules/@babel/runtime": {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"eslint": "^8.43.0",
|
"eslint": "^8.43.0",
|
||||||
"eslint-config-svelte3": "github:johbog/eslint-config-svelte3",
|
"eslint-config-svelte3": "github:johbog/eslint-config-svelte3",
|
||||||
"svelte": "^3.59.1",
|
"svelte": "^3.59.1",
|
||||||
"vite": "^3.2.7"
|
"vite": "^3.2.10"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "./node_modules/@garraflavatra/yeslint/configs/svelte.js",
|
"extends": "./node_modules/@garraflavatra/yeslint/configs/svelte.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user