Skip to content

Commit

Permalink
Merge pull request #53 from HarlemSquirrel/add-verify
Browse files Browse the repository at this point in the history
Add verify workflow and specify node version
  • Loading branch information
HarlemSquirrel authored May 7, 2024
2 parents 42f5574 + a9f7bea commit 281ed9f
Show file tree
Hide file tree
Showing 6 changed files with 8,241 additions and 388 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Verify
on:
push:
pull_request:
workflow_dispatch:

jobs:
build-chrome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install npm modules
run: npm ci
- name: Build
run: npm run build-chrome
build-edge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install npm modules
run: npm ci
- name: Build
run: npm run build-edge
build-firefox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install npm modules
run: npm ci
- name: Build
run: npm run build-firefox
- name: Lint
run: npm run lint-firefox

build-safari:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install npm modules
run: npm ci
- name: Build
run: npm run build-safari
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install npm modules
run: npm ci
- name: ESLint
run: npm run eslint
- name: Prettier
run: npm run prettier
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.20.2
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ with several modifications for KeeWeb listed [here](docs/keeweb-connect-protocol
## License

[MIT](https://github.com/keeweb/keeweb-connect/blob/master/LICENSE)

Loading

0 comments on commit 281ed9f

Please sign in to comment.