Skip to content

Commit b784dfd

Browse files
committed
fix: move workflows to root, restore setup action, ignore grammars.ts
1 parent b44bf2a commit b784dfd

File tree

8 files changed

+28
-111
lines changed

8 files changed

+28
-111
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/actions/setup/action.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Setup
2+
description: Sets up Node.js and Yarn
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- name: Setup Node.js
8+
uses: actions/setup-node@v4
9+
with:
10+
node-version: 18
11+
cache: 'yarn'
12+
cache-dependency-path: react-native-libprisma/yarn.lock
13+
14+
- name: Install dependencies
15+
shell: bash
16+
working-directory: react-native-libprisma
17+
run: yarn install --frozen-lockfile

react-native-libprisma/.github/workflows/ci.yml renamed to .github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

17+
defaults:
18+
run:
19+
working-directory: react-native-libprisma
20+
1721
jobs:
1822
lint:
1923
runs-on: ubuntu-latest

react-native-libprisma/.github/workflows/publish.yml renamed to .github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
contents: read
1515
id-token: write
1616

17+
defaults:
18+
run:
19+
working-directory: react-native-libprisma
20+
1721
steps:
1822
- name: Checkout
1923
uses: actions/checkout@v4

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,3 +363,6 @@ MigrationBackup/
363363

364364
# Fody - auto-generated XML schema
365365
FodyWeavers.xsd
366+
367+
# Generated embedded grammar file
368+
react-native-libprisma/src/grammars.ts

react-native-libprisma/.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

react-native-libprisma/.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

react-native-libprisma/.github/actions/setup/action.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)