Skip to content

Commit

Permalink
👷 Archive artifacts in CI build
Browse files Browse the repository at this point in the history
Updates the CI build workflow action to archive (upload) `dist`
directory (the output artifacts).

Renames steps and the action itself with preferred terms.
  • Loading branch information
connorjs committed Sep 9, 2023
1 parent 50f7051 commit b56d0f7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 24 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI Build

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm

- name: Install
run: npm ci

- name: Run release build targets
run: npm run release

- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
24 changes: 0 additions & 24 deletions .github/workflows/node.js.yml

This file was deleted.

0 comments on commit b56d0f7

Please sign in to comment.