Skip to content

Commit

Permalink
fix: correct ci development flow
Browse files Browse the repository at this point in the history
  • Loading branch information
0-vortex committed Mar 25, 2023
1 parent 22d2ea5 commit 0434010
Showing 1 changed file with 7 additions and 30 deletions.
37 changes: 7 additions & 30 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,12 @@ name: "Development"

on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened

jobs:
build:
name: Build application
runs-on: ubuntu-latest
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: "🔧 setup node"
uses: actions/[email protected]
with:
node-version: 14

- name: "🔧 setup cache"
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/npm-shrinkwrap.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: "🔧 install npm@latest"
run: npm i -g npm@latest

- name: "📦 install dependencies"
run: npm ci

- name: "🚀 static app"
run: npm run build
test:
uses: open-sauced/open-sauced/.github/workflows/development.yml@main

0 comments on commit 0434010

Please sign in to comment.