Skip to content

Commit

Permalink
Merge pull request #34 from Ayush7614/master
Browse files Browse the repository at this point in the history
Add Continuous Integration workflows using GitHub Actions
  • Loading branch information
pulkit-30 authored Oct 4, 2021
2 parents e740ca2 + 497752e commit 4e8df1f
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Test

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest

steps:
- name: Checkout
uses: actions/checkout@master

- name:
uses: index.html
with:

- name: no
run: index.html

- name: Build the project
run: index.html

- name: Lint
run: index.html
36 changes: 36 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "CodeQL analysis"

on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '0 16 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: ['javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2

- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit 4e8df1f

Please sign in to comment.