forked from didirus/AstralRinth
Update prettier config + Run pnpm format
This commit is contained in:
26
.github/workflows/deploy.yml
vendored
26
.github/workflows/deploy.yml
vendored
@@ -3,16 +3,16 @@ name: Deploy
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Wait for CF Pages
|
||||
id: cf-pages
|
||||
uses: WalshyDev/cf-pages-await@v1
|
||||
with:
|
||||
accountEmail: ${{ secrets.CF_ACCOUNT_EMAIL }}
|
||||
apiKey: ${{ secrets.CF_API_KEY }}
|
||||
accountId: '9ddae624c98677d68d93df6e524a6061'
|
||||
project: 'omorphia'
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Wait for CF Pages
|
||||
id: cf-pages
|
||||
uses: WalshyDev/cf-pages-await@v1
|
||||
with:
|
||||
accountEmail: ${{ secrets.CF_ACCOUNT_EMAIL }}
|
||||
apiKey: ${{ secrets.CF_API_KEY }}
|
||||
accountId: '9ddae624c98677d68d93df6e524a6061'
|
||||
project: 'omorphia'
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
78
.github/workflows/release.yml
vendored
78
.github/workflows/release.yml
vendored
@@ -1,50 +1,50 @@
|
||||
name: Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- uses: pnpm/action-setup@v2.1.0
|
||||
with:
|
||||
version: 6.32.0
|
||||
- uses: pnpm/action-setup@v2.1.0
|
||||
with:
|
||||
version: 6.32.0
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Cache pnpm modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-
|
||||
- name: Cache pnpm modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Package
|
||||
run: |
|
||||
pnpm version patch --commit-hooks false --git-tag-version false
|
||||
pnpm package
|
||||
- name: Package
|
||||
run: |
|
||||
pnpm version patch --commit-hooks false --git-tag-version false
|
||||
pnpm package
|
||||
|
||||
- name: Publish
|
||||
run: |
|
||||
cd package
|
||||
pnpm publish --no-git-checks --tag alpha
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- name: Publish
|
||||
run: |
|
||||
cd package
|
||||
pnpm publish --no-git-checks --tag alpha
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
message: 'Bump package version [skip ci]'
|
||||
default_author: github_actions
|
||||
- uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
message: 'Bump package version [skip ci]'
|
||||
default_author: github_actions
|
||||
|
||||
Reference in New Issue
Block a user