Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alihan0 committed Sep 30, 2023
1 parent 6a3031a commit 2e129c8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update Package

on:
push:
branches:
- main # Kütüphanenin ana dalı, isteğe bağlı olarak değiştirilebilir

jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '12' # Kütüphanenin gereksinimlerine göre Node.js sürümünü güncelleyin

- name: Install dependencies
run: npm ci

- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} # GitHub deposundaki bir gizli (secret) ile token'ı kullanarak npm oturumu açın

0 comments on commit 2e129c8

Please sign in to comment.