Skip to content

Commit

Permalink
Merge pull request #437 from Workiva/auto_publish
Browse files Browse the repository at this point in the history
Prep for auto-publish
  • Loading branch information
btr-rmconsole-5[bot] authored Dec 17, 2024
2 parents ed1c8e4 + 1de79b1 commit 2b1f4e3
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 57 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
pull_request:
push:
branches:
- master
tags:
- '**'

jobs:
checks:
uses: Workiva/gha-dart-oss/.github/workflows/[email protected]

build:
uses: Workiva/gha-dart-oss/.github/workflows/[email protected]

# note, we're not using the test-unit workflow here because of
# the need to install npm dependencies
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.6

- name: Install Node dependencies
run: npm install

- name: Install Dart dependencies
run: dart pub get

- name: Run tests
run: dart run dart_dev test -P ci
57 changes: 0 additions & 57 deletions .github/workflows/dart_ci.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Publish

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

permissions:
contents: write
id-token: write
pull-requests: write

jobs:
publish:
uses: Workiva/gha-dart-oss/.github/workflows/[email protected]

0 comments on commit 2b1f4e3

Please sign in to comment.