Skip to content

Commit

Permalink
Merge pull request #43 from tjsr/deps/eslint-config
Browse files Browse the repository at this point in the history
Update eslint config and publish task.
  • Loading branch information
tjsr authored Jun 25, 2024
2 parents 7bd867d + 1519aa5 commit 555c56e
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 12 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
name: Publish Github packages repo
name: Publish USM to Github packages repo
on:
release:
types: [published]
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm publish --provenance --access public
- run: npm test

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
41 changes: 33 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 555c56e

Please sign in to comment.