Skip to content

fix: cli argument made no sense, corrected readme for people to use l… #50

fix: cli argument made no sense, corrected readme for people to use l…

fix: cli argument made no sense, corrected readme for people to use l… #50

Workflow file for this run

name: Release
on:
push:
branches:
- main
- alpha
jobs:
release:
name: Release
runs-on: ubuntu-latest
concurrency:
group: deploy-${{github.ref}}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-node@v4
with:
node-version: latest
registry-url: "https://registry.npmjs.org"
cache: 'npm'
- name: Cache project's node_modules
uses: actions/cache@v3
id: cache-node-modules
with:
path: node_modules
key: ${{runner.os}}-node-${{hashFiles('package-lock.json')}}
- name: Install app dependencies cleanly
run: npm ci
- name: Linting
run: npm run lint
- name: Release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: npx autorel --publish