⬆️ build(deps): Update dependency @types/node to v22.10.0 (#505) #473
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: 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 }} |