Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade workflow.yml actions to latest official versions #66

Closed
ashblue opened this issue Jan 16, 2023 · 0 comments
Closed

Upgrade workflow.yml actions to latest official versions #66

ashblue opened this issue Jan 16, 2023 · 0 comments

Comments

@ashblue
Copy link
Owner

ashblue commented Jan 16, 2023

workflow.yml should look like this. As the V2 versions of the actions are deprecated.

name: CI
on:
    push:
        branches:
            - master
    pull_request:
        branches:
            - develop
            - master
jobs:
    test:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
            - uses: actions/setup-node@v3
              with:
                  node-version: '14'
            - run: npm install
            - run: npm run build
            - name: Release
              env:
                  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
                  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              run: npm run semantic-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant