Skip to content

Commit

Permalink
boilerplat github action
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiei committed Feb 7, 2025
1 parent 88129d9 commit 57b26ea
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Js

on:
workflow_dispatch:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install npm dependencies
run: npm i --include=dev
- name: Test
run: npm run test

0 comments on commit 57b26ea

Please sign in to comment.