Skip to content

chore: apply packageManager in package.json and simplify ci config #166

chore: apply packageManager in package.json and simplify ci config

chore: apply packageManager in package.json and simplify ci config #166

Workflow file for this run

name: 'ci'
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
test-webpack4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest:webpack4
- run: pnpm test:webpack4
test-webpack5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest
- run: pnpm test
test-webpack5-inline-match-resource:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest:match-resource
- run: pnpm test:match-resource