Skip to content

Commit

Permalink
Build dist
Browse files Browse the repository at this point in the history
  • Loading branch information
callumevans committed Jan 12, 2024
1 parent f5ee729 commit 8f2b886
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,32 @@ on:
workflow_dispatch:

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:


npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install node.js
uses: actions/setup-node@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 14.x
registry-url: https://registry.npmjs.org
node-version: ${{ matrix.node-version }}
cache: "yarn"

- name: Install dependencies
run: npm install
uses: borales/actions-yarn@v4
with:
cmd: install

- name: Build
run: npm run build

- name: Publish new version
env:
Expand Down

0 comments on commit 8f2b886

Please sign in to comment.