docs: using hono/csrf middleware (#1553) #699
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Auri" | |
on: | |
push: | |
branches: | |
- main | |
env: | |
AURI_GITHUB_TOKEN: ${{secrets.AURI_GITHUB_TOKEN}} | |
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} | |
jobs: | |
auri: | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup actions | |
uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.5.1 | |
registry-url: https://registry.npmjs.org | |
- name: install dependencies | |
run: | | |
npm i -g pnpm | |
pnpm install --no-frozen-lockfile | |
- name: publish | |
run: pnpm exec auri publish | |
- name: prepare | |
run: pnpm exec auri prepare |