mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
43 lines
759 B
YAML
43 lines
759 B
YAML
name: Release
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [12]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
registry-url: 'https://registry.npmjs.org'
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
env:
|
|
CI: true
|
|
|
|
- name: Test
|
|
run: npm test
|
|
env:
|
|
CI: true
|
|
|
|
- name: Publish
|
|
run: npm publish
|
|
env:
|
|
CI: true
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|