Skip to content

Commit

Permalink
Deploy (#1)
Browse files Browse the repository at this point in the history
* chore: deploy

* fix: build

* chore: npm token
  • Loading branch information
imconnorngl authored Aug 2, 2024
1 parent a29808f commit 34c11e5
Show file tree
Hide file tree
Showing 75 changed files with 1,589 additions and 6,320 deletions.
8 changes: 8 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted"
}
5 changes: 5 additions & 0 deletions .changeset/swift-apricots-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lunarclient/molang': major
---

Initial Release
51 changes: 51 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Quality & Release

on: [push]

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
quality:
name: Quality
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true

- name: Build Packages
run: pnpm build

- name: Run Tests
run: pnpm test

- name: Check Types
run: pnpm types
release:
name: Release
runs-on: ubuntu-latest
needs: quality
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node_modules
perf/*

dist

tsconfig.tsbuildinfo
.DS_STORE
6 changes: 6 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
auto-install-peers=false
node-linker=hoisted
strict-peer-dependencies=false
dedupe-peer-dependents=true
@lunarclient:registry=https://npm.pkg.github.com/
@moonsworth:registry=https://npm.pkg.github.com/
20 changes: 0 additions & 20 deletions dist/MoLang.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions dist/custom/class.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions dist/custom/function.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions dist/custom/main.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions dist/custom/transformStatement.d.ts

This file was deleted.

22 changes: 0 additions & 22 deletions dist/env/env.d.ts

This file was deleted.

30 changes: 0 additions & 30 deletions dist/env/math.d.ts

This file was deleted.

6 changes: 0 additions & 6 deletions dist/env/queries.d.ts

This file was deleted.

34 changes: 0 additions & 34 deletions dist/env/standardEnv.d.ts

This file was deleted.

22 changes: 0 additions & 22 deletions dist/main.d.ts

This file was deleted.

Loading

0 comments on commit 34c11e5

Please sign in to comment.