Skip to content

release: Update deps. #89

release: Update deps.

release: Update deps. #89

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Restore
run: npm ci
- name: Build
run: |
npm run build
npx @werk/cli publish --no-build --to-archive
- name: Test
run: npm test
- name: Publish
run: |
npm config set //registry.npmjs.org/:_authToken '${NPM_TOKEN}'
npx @werk/cli publish --from-archive
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}