Skip to content

Commit

Permalink
Upload GitHub release artifacts on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Aug 8, 2024
1 parent 48fce91 commit 564d7e7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish_web-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ jobs:
cache: npm
- run: npm ci
- run: npm test
artifacts:
if: github.repository == 'web-platform-dx/web-features'
runs-on: ubuntu-latest
needs: "test"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm run build:extended
- run: gh release upload "$GITHUB_REF_NAME" packages/web-features/data.json schemas/data.schema.json data.extended.json
publish:
if: github.repository == 'web-platform-dx/web-features'
runs-on: ubuntu-latest
Expand Down

0 comments on commit 564d7e7

Please sign in to comment.