Skip to content

Commit

Permalink
Create random-publisher.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shysolocup authored Nov 8, 2023
1 parent 5529f44 commit 662dfff
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/random-publisher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: random publisher
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:

- name: checkout stuff
uses: actions/checkout@v3

- name: setup
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- name: installer
working-directory: ./src/random
run: npm i

- name: another installer
working-directory: ./src/random
run: npm ci

- name: publish
working-directory: ./src/random
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 662dfff

Please sign in to comment.