mirror of
https://github.com/egoist/tsup.git
synced 2025-12-08 20:35:58 +00:00
chore: switch back to npm
This commit is contained in:
parent
5e5a9f19fb
commit
893bac6851
19
.github/workflows/nodejs.yml
vendored
19
.github/workflows/nodejs.yml
vendored
@ -23,22 +23,15 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Cache ~/.pnpm-store
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cache-pnpm-store
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.pnpm-store
|
||||
key: ${{ runner.os }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-${{ matrix.node-version }}-build-
|
||||
${{ runner.os }}-
|
||||
- name: Install pnpm
|
||||
run: npm i -g pnpm
|
||||
- run: pnpm i
|
||||
${{ runner.os }}-node-
|
||||
- run: npm ci
|
||||
- run: npm run test --if-present
|
||||
- run: pnpx -y semantic-release
|
||||
- run: npx -y semantic-release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
12400
package-lock.json
generated
Normal file
12400
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
4314
pnpm-lock.yaml
generated
4314
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -386,7 +386,7 @@ test('minify', async () => {
|
||||
)
|
||||
|
||||
expect(output).toMatchInlineSnapshot(`
|
||||
"\\"use strict\\";Object.defineProperty(exports, \\"__esModule\\", {value: true});function f(){return\\"foo\\"}exports.foo = f;
|
||||
"\\"use strict\\";Object.defineProperty(exports, \\"__esModule\\", {value: true});function o(){return\\"foo\\"}exports.foo = o;
|
||||
"
|
||||
`)
|
||||
expect(outFiles).toMatchInlineSnapshot(`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user