This commit is contained in:
@@ -11,31 +11,31 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout project
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Setup pnpm
|
||||||
uses: https://github.com/pnpm/action-setup@v4
|
uses: https://github.com/pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 9
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Install node
|
- name: Setup node
|
||||||
uses: https://github.com/actions/setup-node@v4
|
uses: https://github.com/actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build project
|
- name: Build projects
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Check project
|
- name: Run checks
|
||||||
run: pnpm run check
|
run: pnpm run check
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifacts
|
||||||
run: |
|
run: |
|
||||||
tar -czf build.tar.gz build
|
tar -czf build.tar.gz build
|
||||||
curl --user minijack:${{ secrets.PACKAGE_TOKEN }} \
|
curl --user minijack:${{ secrets.PACKAGE_TOKEN }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user