Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrazasp committed Aug 23, 2023
1 parent faa4a90 commit 5337291
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Continuous integration

on:
push:
branches: [main]
pull_request:

jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
security-events: write
actions: read
contents: read

steps:
- uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version-file: package.json
cache: npm

- name: Install dependencies
run: npm ci --silent

- name: Run ESLint
run: npm run lint:sarif
continue-on-error: true

- name: Upload ESLint analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
category: ESLint
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci --silent
run: npm ci

- name: Generate client libraries
run: npm build
run: npm run build

- name: Archive artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 5337291

Please sign in to comment.