Skip to content

⬆️ build(deps): Update dependency @types/node to v22.9.2 (#501) #469

⬆️ build(deps): Update dependency @types/node to v22.9.2 (#501)

⬆️ build(deps): Update dependency @types/node to v22.9.2 (#501) #469

Workflow file for this run

name: Master
on:
push:
branches:
- master
workflow_dispatch:
env:
NPM_CONFIG_PROVENANCE: true
jobs:
build_and_release:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Set yarn config
run: yarn config set npmAuthToken $NPM_AUTH_TOKEN
env:
NPM_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }}
- name: Build
run: |
yarn workspace postcss-colorguard build
yarn workspace colorguard-processor build
yarn workspace colorguard-cli build
- name: Publish package
run: yarn run release
env:
NPM_TOKEN: ${{ secrets.YARN_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}