fix: revent build changes

This commit is contained in:
ThaUnknown 2022-06-06 00:42:11 +02:00
parent d5836df3ae
commit 450c6d6311
4 changed files with 40 additions and 15 deletions

34
.github/pnp.yml.broken vendored Normal file
View file

@ -0,0 +1,34 @@
name: Build/release
on: push
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install PNPM
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 16
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm run publish

View file

@ -14,21 +14,15 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install PNPM
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Use Node.js 16
uses: actions/setup-node@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 16
cache: "pnpm"
- name: Install dependencies
run: pnpm install
run: npm install
- name: Publish
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm run publish
run: npm run publish

3
.npmrc
View file

@ -1,3 +0,0 @@
node-linker=hoisted
public-hoist-pattern=*
hamefully-hoist=true

View file

@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "2.4.4",
"version": "2.4.5",
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"main": "src/index.js",
"homepage": "https://github.com/ThaUnknown/miru#readme",