Skip to content

Commit

Permalink
build: 🚀 add push pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Elimeleth committed Feb 27, 2024
1 parent 5f9ccce commit b405ce3
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/all-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: base

on:
push:
branches:
- '*'

jobs:
base:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install dependencies
run: |
npm install -g pnpm rollup
pnpm install
- name: Run tests
run: pnpm run test

- name: Build project
if: success()
run: pnpm run build
continue-on-error: false

- name: Handle failure
if: failure()
run: echo "Por favor, revisa y corrige los errores."

0 comments on commit b405ce3

Please sign in to comment.