mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 13:43:03 -05:00
7a7ad6ae60
* Add release management with changelogs * wip * fix workflows * ignore changeset folder * fix release workflow
34 lines
718 B
YAML
34 lines
718 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main, dev]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build ${{ matrix.node }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node: ['20.x']
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- uses: bahmutov/npm-install@v1
|
|
- run: npm run build
|
|
lint:
|
|
name: Lint ${{ matrix.node }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node: ['20.x']
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- uses: bahmutov/npm-install@v1
|
|
- run: npm run lint
|