Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoJM authored Dec 26, 2021
1 parent ed7183f commit 748f542
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build TypeScript and SCSS Code

on: 'pull_request'

jobs:
code:
name: Build TypeScript and SCSS
runs-on: ubuntu-latest

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

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install dependencies
run: yarn

- name: Run build Widget JavaScript
run: yarn gulp js:widget
env:
CI: true

- name: Run build Inline JavaScript
run: yarn gulp js:inline
env:
CI: true

- name: Run build SCSS
run: yarn gulp scss
env:
CI: true

0 comments on commit 748f542

Please sign in to comment.