Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

ci: create edge release for all pull requests #74

ci: create edge release for all pull requests

ci: create edge release for all pull requests #74

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'src/**'
- 'package.json'
- 'pnpm-lock.yaml'
- name: Lint
run: nr lint
- name: Build
run: nr build
- name: Relase Edge
run: |
chmod +x ./scripts/release-edge.sh
./scripts/release-edge.sh
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}