mirror of
https://github.com/open-wc/locator.git
synced 2026-03-10 08:51:21 +00:00
27 lines
514 B
YAML
27 lines
514 B
YAML
name: Node.js CI
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npm run zip
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: Package
|
|
path: release
|