-
-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (37 loc) · 1.11 KB
/
.build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build
on:
workflow_call:
secrets:
CODECOV_TOKEN:
required: false
description: The token to upload coverage reports to Codecov
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: pnpm run build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Type Check
run: pnpm check:type
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: dist
path: dist
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: web-csv-toolbox-wasm
path: |
web-csv-toolbox-wasm/**/*
!web-csv-toolbox-wasm/src
!web-csv-toolbox-wasm/target
!web-csv-toolbox-wasm/Cargo.toml
!web-csv-toolbox-wasm/Cargo.lock
!web-csv-toolbox-wasm/.gitignore