Skip to content

@major-tanya/itty-compression v0.1.6 #5

@major-tanya/itty-compression v0.1.6

@major-tanya/itty-compression v0.1.6 #5

Workflow file for this run

name: Publish
on:
release:
types: [ created ]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup Node v20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: Setup npm
run: npm install -g npm
- name: Clean Install Dependencies
run: npm ci
- name: Build itty-compression package
run: npm run build
- name: Run ESLint
run: npm run lint
- name: Run tests
run: npm run test:once
- name: Publish to npm
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}