Skip to content

Commit

Permalink
Optimized ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisUser committed Feb 23, 2023
2 parents 85eee4d + 8cb7b13 commit df31082
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: CI
on: [push]

on:
push:
branches: [main]
pull_request:
branches: [main]

env:
NODE_VERSION: '16'

jobs:
build-and-test:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
full-code-check:
runs-on: ubuntu-latest
steps:
- name: Full-check repository
Expand Down

0 comments on commit df31082

Please sign in to comment.