Skip to content

chore(release): 17.0.0 #26

chore(release): 17.0.0

chore(release): 17.0.0 #26

Workflow file for this run

name: Build & deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm ci --force
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Build (copy assets)
run: npm run build:copy-assets
- name: Deploy Github Pages
if: success()
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/elements-demo
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
check-version: true
package: dist/elements/package.json